DanB,
Which hook would that be?
Jack
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Daniel Barrett Sent: Tuesday, September 09, 2008 8:12 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Custom Namespace Categories
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@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)
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l