To create a sort of breadcrumbs I use MediaWiki:Tagline (need to change CSS),
Extension:ParserFunctions,
and the following wiki text:
MyWiki
{{#if: {{NAMESPACE}} |
{{NAMESPACE}}
}}
{{#titleparts: {{PAGENAME}} | 1 | 1 }}
{{#if:
{{#titleparts: {{PAGENAME}} | 1 | 2 }} |
{{#titleparts: {{PAGENAME}} | 1 | 2 }}
}}
{{#if: {{#titleparts: {{PAGENAME}} | 1 | 3 }} |
{{#titleparts: {{PAGENAME}} | 1 | 3 }}
}}
This results, for instance in a tagline like this:
MyWiki > Help > Editing > Lists
on a page with the title Help:Editing/Lists
Ideally, I would like to add links, for instance
[[Mainpage|MyWiki]], etc. but this does not work. The code in MediaWiki:Tagline is not
parsed into a linktext, even if I try somethig like
{{fullurl:Mainpage}}, etc.
Any suggestion?
Thx in advance
Bernhard