For all my articles I set a {{displaytitle}} to change the article heading.
Let's say, for an article with Title 'Mediawiki', my {{displaytitle}} is 'What
is MediaWiki'.
All works fine as far as heading is concerned but when i have a link inside an
article as [[Mediawiki]], the display title does not get displayed.
Setting up a hook for LinkBegin/End doesnt help as there is no way to find out
if alternate text was used e.g. [[Mediawiki | Learn more about MediaWiki]].
Can someone please suggest other ways for the parser to show {{displaytitle}}
instead of Title::getPrefixedText()? But it should use {{displaytitle}} only if
no alternate text was used.
Gurmeet Kochar (via iPhone)
__________________________________________________________________
Ask a question on any topic and get answers from real people. Go to Yahoo!
Answers and share what you know at http://ca.answers.yahoo.com
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l