includes/Namespace.php File Reference

Provide things related to namespaces. More...

Go to the source code of this file.

Classes

class  MWNamespace
 This is a utility class with only static functions for dealing with namespaces that encodes all the "magic" behaviors of them based on index. More...

Variables

 $wgCanonicalNamespaceNames
 Definitions of the NS_ constants are in Defines.php.


Detailed Description

Provide things related to namespaces.

Definition in file Namespace.php.


Variable Documentation

$wgCanonicalNamespaceNames

Initial value:

 array(
        NS_MEDIA            => 'Media',
        NS_SPECIAL          => 'Special',
        NS_TALK             => 'Talk',
        NS_USER             => 'User',
        NS_USER_TALK        => 'User_talk',
        NS_PROJECT          => 'Project',
        NS_PROJECT_TALK     => 'Project_talk',
        NS_FILE             => 'File',
        NS_FILE_TALK        => 'File_talk',
        NS_MEDIAWIKI        => 'MediaWiki',
        NS_MEDIAWIKI_TALK   => 'MediaWiki_talk',
        NS_TEMPLATE         => 'Template',
        NS_TEMPLATE_TALK    => 'Template_talk',
        NS_HELP             => 'Help',
        NS_HELP_TALK        => 'Help_talk',
        NS_CATEGORY         => 'Category',
        NS_CATEGORY_TALK    => 'Category_talk',
)
Definitions of the NS_ constants are in Defines.php.

Access:
private

Definition at line 11 of file Namespace.php.

Referenced by NamespaceConflictChecker::checkAll(), do_pagelinks_update(), SpecialSearch::formHeader(), MWNamespace::getCanonicalIndex(), MWNamespace::getCanonicalName(), Title::getNsText(), Skin::makeGlobalVariablesScript(), and SkinTemplate::outputPage().


Generated on Sat Sep 5 02:08:07 2009 for MediaWiki by  doxygen 1.5.9