Hi,
Is it possible to modify page title section without effecting the page name itself. For example, having a tag so that it's content be placed over page title (below tabs), or in front of it as an explanation, e.g. a page with the name of "Wikipedia" but with the title "Wikipedia: the freehttp://en.wikipedia.org/wiki/Free_content encyclopedia http://en.wikipedia.org/wiki/Encyclopedia" (may contain internal links). If it is possible, how can it be done?
Best regards,
Mohsen A. Momeni wrote:
Hi,
Is it possible to modify page title section without effecting the page name itself. For example, having a tag so that it's content be placed over page title (below tabs), or in front of it as an explanation, e.g. a page with the name of "Wikipedia" but with the title "Wikipedia: the freehttp://en.wikipedia.org/wiki/Free_content encyclopedia http://en.wikipedia.org/wiki/Encyclopedia" (may contain internal links). If it is possible, how can it be done?
Best regards,
Yes. See {{DISPLAYTITLE: }} and $wgAllowDisplayTitle http://www.mediawiki.org/wiki/Manual:$wgAllowDisplayTitle
There're also several javascript hacks to do the same.
2008/11/10 Platonides Platonides@gmail.com:
Mohsen A. Momeni wrote:
Hi,
Is it possible to modify page title section without effecting the page name itself. For example, having a tag so that it's content be placed over page title (below tabs), or in front of it as an explanation, e.g. a page with the name of "Wikipedia" but with the title "Wikipedia: the freehttp://en.wikipedia.org/wiki/Free_content encyclopedia http://en.wikipedia.org/wiki/Encyclopedia" (may contain internal links). If it is possible, how can it be done?
Best regards,
Yes. See {{DISPLAYTITLE: }} and $wgAllowDisplayTitle http://www.mediawiki.org/wiki/Manual:$wgAllowDisplayTitle
There're also several javascript hacks to do the same.
Doesn't DISPLAYTITLE only allow titles that reduce to the same canonical form? (eg. "Wikipedia" could be called "wikipedia", but that's about it)
Yes. See {{DISPLAYTITLE: }} and $wgAllowDisplayTitle http://www.mediawiki.org/wiki/Manual:$wgAllowDisplayTitle
There're also several javascript hacks to do the same.
Doesn't DISPLAYTITLE only allow titles that reduce to the same canonical form? (eg. "Wikipedia" could be called "wikipedia", but that's about it)
Since 1.14 you can set $wgRestrictDisplayTitle = false to disable that restriction. However, that would still not allow links or formatting in the title.
-- daniel
wikitech-l@lists.wikimedia.org