Vote #62797
未完了Have wiki links display linked page title
0%
説明
It would be über-cool to have wiki links (i.e: linked_page automatically display the linked page's title.
DokuWiki has a similar feature.
journals
What do you mean exactly by "page's title" ? The first heading of its content ?
--------------------------------------------------------------------------------
Exactly.
--------------------------------------------------------------------------------
Here is a patch implementing this feature, along with some tests.
--------------------------------------------------------------------------------
I'd also like to see something like this. It would be nice to be able to have a 'title' that is different from the 'name'. The name has to adhere to strict conventions to allow it to be contained in URL's, but there should be no such need for title's.
Example:
I have a page 'vps1.example.org' which gets the name 'Vps1exampleorg'. I don't mind that that is the name that is being used internally, but is bothers me that this also appears in the HTML title and in links in the {{child_pages}} macro.
--------------------------------------------------------------------------------
I've tried applying the patch (manually), but it doesn't see, to work (anymore). I'm not a Ruby programmer, so I can't assess the cause.
--------------------------------------------------------------------------------