@Platonides: Sounds great, thank you. However, didn't work so far. Could there be a cache problem (the Mediawiki:Tagline still works although disabled...)?
There are a few extensions for breadcrumbs out there, but they do not quite what I want (as is the case with the breadcrumbs you mention). This should be an ideal way, if it works.
Sorry for my silly questions. I am just beginning to get a picture...
B.
-----Ursprüngliche Nachricht----- Von: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] Im Auftrag von Platonides Gesendet: Mittwoch, 14. April 2010 13:31 An: mediawiki-l@lists.wikimedia.org Betreff: Re: [Mediawiki-l] tagline
ElScheid, Bernhard wrote:
Sorry for yet another small problem: I discovered that it should be possible to turn the page subtitle (which is usually hidden by CSS) into a good way to show "breadcrumbs" adding some magic words to MediaWiki:Tagline. The only problem: Links are not parsed correctly, neither in Wikicode nor in HTML (actually both ways are not parsed at all).
Example: {{SITENAME}} {{#if: {{NAMESPACE}} |
{{NAMESPACE}}
}}
{{BASEPAGENAME}}
{{#if: {{#titleparts: {{PAGENAME}} | 1 | 2 }} |
{{#titleparts: {{PAGENAME}} | 1 | 2 }}
}} {{#if: {{#titleparts: {{PAGENAME}} | 1 | 3 }} |
{{#titleparts: {{PAGENAME}} | 1 | 3 }}
}}
Ideally, something like [[Main Page|{{SITENAME}}]], etc. should work. Any solution?
Thx
Bernhard
What do you have against the breadcrumbs that appear automatically on namespaces with subpages?
To make that work, change at Skin.php wfMsgExt( 'tagline', 'parsemag' ) to wfMsgExt( 'bernhard-breadcrumbs', 'parse' ) and you will be able to add that code to MediaWiki:bernhard-breadcrumbs
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l