[Mediawiki-l] Custom Namespace Categories
Daniel Barrett
danb at VistaPrint.com
Wed Sep 10 00:11:48 UTC 2008
An extension that gives "special powers" to a namespace is not hard to write. Create an extension that runs on every page load, and check:
if ($wgTitle && ($wgTitle->getNamespace() == your namespace ID)) {
... do fun stuff...
}
DanB
________________________________________
From: Sylvain Machefert [iubito at gmail.com]
As John Spikowksi, I'd like to create my own namespaces which act as if they
were categories, images, medias. (i.e. extend built-in namespaces)
More information about the MediaWiki-l
mailing list