[Mediawiki-l] breadcrumbs: tagline with internal links

Scheid, Bernhard Bernhard.Scheid at oeaw.ac.at
Wed Apr 6 09:33:46 UTC 2011


That's not the problem. (Actually I had [[Hauptseite|Religion-in-Japan]], which should work in a German wiki...)

-----Ursprüngliche Nachricht-----
Von: mediawiki-l-bounces at lists.wikimedia.org [mailto:mediawiki-l-bounces at lists.wikimedia.org] Im Auftrag von mrthetooth
Gesendet: Dienstag, 5. April 2011 23:15
An: 'MediaWiki announcements and site admin list'
Betreff: Re: [Mediawiki-l] breadcrumbs: tagline with internal links

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: mediawiki-l-bounces at lists.wikimedia.org [mailto:mediawiki-l-bounces at lists.wikimedia.org] 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
MediaWiki-l at lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l



More information about the MediaWiki-l mailing list