[Mediawiki-l] Custom Namespace Categories
John Spikowski
support at allbasic.info
Wed Sep 10 00:34:26 UTC 2008
Unfortunatly php is not my native language. Only one guess allowed to what
my primary language is. ;-)
... do fun stuff...
Translation:
Add content to wiki
Announce wiki is ready to use
...
John
> -----Original Message-----
> From: mediawiki-l-bounces at lists.wikimedia.org
> [mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of
> Daniel Barrett
> Sent: Tuesday, September 09, 2008 5: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 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)
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
More information about the MediaWiki-l
mailing list