You might have already tried this, but to link to the Main Page, make sure that
there is a space, and that the capitalization is correct:
[[Main Page | MyWiki]]
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Scheid, Bernhard
Sent: Tuesday, April 05, 2011 1:50 PM
To: MediaWiki announcements and site admin list
Subject: [Mediawiki-l] breadcrumbs: tagline with internal links
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
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l