I once had a similar question, for Platonides' answer see below. Unfortunately, Platonides' advice, how to manipulate the tagline output, did not work. My software does not care about the function in Skin.php, but continues to use MediaWiki:Tagline (Which can be altered to some extent, though, if you first change the CSS to make the tagline = page subtitle visible). For an example, see my
http://www.univie.ac.at/rel_jap/w/index.php?title=MediaWiki:Tagline I am still looking for a way to make these bread crumbs clickable. Probably I have to add something in order to make Platonides function work? Bernhard -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Platonides Gesendet: Mittwoch, 14. April 2010 13:31 An: [email protected] 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 ***************************** -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Aaron Gray Gesendet: Mittwoch, 18. August 2010 23:20 An: MediaWiki announcements and site admin list Betreff: [Mediawiki-l] Bread Crumbs and sub pages I was wondering if there is an extension to MediaWiki that adds either bread crumbs or ideally makes the "hierarchical" page links in to clickable links. Where I have a sub page with the page title :- Reference Manual/Base Types I want the "Reference Manual" bit to be a link back to the main Reference_Manual page Basically not having this is annoying as you have to either go back to the main page then select the "Reference Manual" page again. Either that or chop then end off the URL in the browser. If not how do I get at the variables in the MonoBook.php to implement this ? Many thanks in advance, Aaron _______________________________________________ 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
