[Mediawiki-l] Howto Create a new namespace

Mike Valstar mikevalstar at gentoo-wiki.com
Mon Aug 29 05:19:06 UTC 2005


excerpt from my LocalSettings.php


$wgExtraNamespaces      = array(100 => "Index",
                                101 => "Index_Talk",
                                110 => "Ucpt",
                                111 => "Ucpt_talk");
$wgNamespacesWithSubpages = array(
        NS_TALK           => true,
        NS_USER           => true,
        NS_USER_TALK      => true,
        NS_PROJECT_TALK   => true,
        NS_IMAGE_TALK     => true,
        NS_MEDIAWIKI_TALK => true,
        NS_TEMPLATE_TALK  => true,
        NS_HELP_TALK      => true,
        NS_CATEGORY_TALK  => true,
        100 => true,
        101 => true,
        110 => true,
        111 => true
 );
  
$wgNamespacesToBeSearchedDefault = array(
        NS_MAIN           => true,
        NS_HELP         =>true,  
        100             =>true,
        110             =>true
);


Mike Valstar

TEXTORIS Julien wrote:

> Hi,
>
> Is it possible to create new namespaces for our own mediawiki project ?
>
> I tried to add to the list of Namespace.php, Language.php and 
> Languagefr.php my new ns, but it appears like (article) in 
> Special:Allpages, and if i tried to create a new article 
> MyNewNS:something, it brings me to the main ns -> something.
>
> What else modifications do i have to do ?
>
> Thanks for help
>
> Julien
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l





More information about the MediaWiki-l mailing list