Manual talk:$wgExtraNamespaces

I have attempted this process on wiki 1.6.8 on my site and adding the variable to the localsettings.php file has not seemed to add the new namespaces to the site. Is this information out of date to the current version(s) of mediawiki? or is somethnig going on here? I've seen other issues reported on help pages but noone has solutions for the problem. TheHYPO 02:00, 8 August 2006 (UTC)

Numberrange for namespace
In MediaWiki 1.5.8 namespaces are of type INT(11) in the database. This allows numbers up to 2147483647.

Namespace, where?
Which file should i edit for adding a Namespace? The LocalSettings.php file? or another? -- Hó-òh Diskussion  12:47, 19 November 2006 (UTC)


 * See Help:Custom namespaces. --Linus M. 19:58, 10 May 2007 (UTC)

If this is the code for extra namespaces:
$wgExtraNamespaces = array(100 => "Portal", 101 => "Portal_talk");

Then how do you figure out the code for the default, given namespaces? PatPeter 22:06, 20 November 2007 (UTC)


 * The standard namespaces are defined in the file includes/Defines.php in the MediaWiki code. -- Tbleher 10:28, 22 January 2008 (UTC)

Why I can create a custom namespace without configure it?
I'm using MediaWiki 1.12, and I can create a page in a namespace which never be defined in LocalSettings.php, like 'wiki/Novel:Crime_And_Punishment'. Is this new feature or I miss something?


 * That's not a namespace; you just happened to put a colon in the page title. —Emufarmers(T 17:07, 22 August 2008 (UTC)

How do I hide my custom namespace's prefix from Category listings?
I administrate a wiki for a RPGMMO and one of the biggest assest on the wiki is our database of items available in the game. We created a Namespace "Item:" for all of these pages to assist in template auto-categorization and user searches, however, all of the listings on the Category:This_or_That pages now have an eyesore of Item:This, Item:That, Item:Then, Item:Now, etc.. Is there anyway I can hide my new namespace from Category listings? Thank you -- Technical 13 (talk) 16:31, 11 April 2012 (UTC)
 * I didn't understand the exact problem, but looks like you're doing transclusion wrong. When you include a page in another one you also include its categories, unless you puth them in tags etc. --Nemo 21:20, 11 April 2012 (UTC)
 * He means that if he has something called Foo:Lorem in Category:Ipsum, then he wants Foo:Lorem to appear as just Lorem in the category.--Jasper Deng (talk) 21:23, 11 April 2012 (UTC)
 * Oh. 29975 then. Nemo 21:25, 11 April 2012 (UTC)