[Mediawiki-l] modify page title when displaying an article

Daniel Barrett danb at VistaPrint.com
Mon Oct 4 18:24:02 UTC 2010


Can you do it with CSS?  If your namespace number is (say 8), you'd put in Mediawiki:Common.css:

body.ns-8 #firstHeading {
 // your styles here
}

Or how about with JavaScript in Mediawiki:Common.js?  Check the namespace, grab the element with ID "firstHeading", and transform the text?

DanB

-----Original Message-----
I am trying to change the way the title of pages in a specific
namespace are displayed....




More information about the MediaWiki-l mailing list