I'm sure you could learn what to do by looking at http://www.mediawiki.org/wiki/Extension:PageFunctions
On 10/22/07, John Moorhouse john.moorhouse@powys.gov.uk wrote:
Our current wiki makes significant use of subpages (nested to 6 levels in some places)
We use a hack on article.php so that the displayed name is just the last bit of the full name ie.
page/sub-page/sub-sub-page/sub-sub-sub-page
is displayed as
sub-sub-sub-page
This hack doesn't work with version 1.11.0 which I am testing, so I was thinking of attempting to write an extension, so that with any luck it would work with future releases (this will also remove the last hack I have on any standard includes)
I'm assuming that I would want to use one of the page rendering parser hooks one option appears to be ParserAfterTidy, this has been used for the Edit Section Link transform extension.
Can anyone let me know if this would be an effective approach to this.?
Thanks
John http://www.mediawiki.org/wiki/Extension:Edit_Section_Link_Transform