'''Short description''' ## Tell your story here. ## What is the problem you are trying to solve? ## Is this features useful to most users or just to specific users? When I write {{{[:Keyword/Wiki]}}}, I want to display "Wiki", not the annoying "Keyword/Wiki", in the final page. Of course, you can still write {{{[:Keyword/Wiki:]}}} to display "Keyword/Wiki" if you insist. Here, I give a tiny patch for parser/wiki.py in MoinMoin 1.5.6: [[attachment:SmartLinkTextForSubpage.patch]], which is very simple: {{{ --- wiki.py.orig 2007-01-01 20:13:36.000000000 +0800 +++ wiki.py 2007-01-01 20:24:45.000000000 +0800 @@ -405,7 +405,7 @@ if word[1] == ':': words = word[2:-1].split(':', 1) if len(words) == 1: - words = words * 2 + words = [ words[0], words[0].split('/')[-1] ] words[0] = 'wiki:Self:%s' % words[0] return self.interwiki(words, pretty_url=1) #return self._word_repl(words[0], words[1]) }}} ---- CategoryFeaturePatched