Adds support for translating namespace names via Special:AdvancedTranslate. More...
Public Member Functions | |
__construct ($code) | |
Protected Member Functions | |
validateEach (&$errors=array(), $group, &$used) | |
Protected Attributes | |
$id = SpecialMagic::MODULE_NAMESPACE | |
$elementsInArray = false | |
$databaseMsg = 'sp-translate-data-Namespaces' | |
$constants |
Adds support for translating namespace names via Special:AdvancedTranslate.
Definition at line 730 of file MediaWikiComplexMessages.php.
NamespaceCM::__construct | ( | $ | code | ) |
Reimplemented from ComplexMessages.
Definition at line 735 of file MediaWikiComplexMessages.php.
NamespaceCM::validateEach | ( | &$ | errors = array() , |
|
$ | group, | |||
&$ | used | |||
) | [protected] |
Reimplemented from ComplexMessages.
Definition at line 766 of file MediaWikiComplexMessages.php.
NamespaceCM::$constants [protected] |
array( -2 => 'NS_MEDIA', -1 => 'NS_SPECIAL', 0 => 'NS_MAIN', 1 => 'NS_TALK', 2 => 'NS_USER', 3 => 'NS_USER_TALK', 4 => 'NS_PROJECT', 5 => 'NS_PROJECT_TALK', 6 => 'NS_FILE', 7 => 'NS_FILE_TALK', 8 => 'NS_MEDIAWIKI', 9 => 'NS_MEDIAWIKI_TALK', 10 => 'NS_TEMPLATE', 11 => 'NS_TEMPLATE_TALK', 12 => 'NS_HELP', 13 => 'NS_HELP_TALK', 14 => 'NS_CATEGORY', 15 => 'NS_CATEGORY_TALK', )
Reimplemented from ComplexMessages.
Definition at line 745 of file MediaWikiComplexMessages.php.
NamespaceCM::$databaseMsg = 'sp-translate-data-Namespaces' [protected] |
Reimplemented from ComplexMessages.
Definition at line 733 of file MediaWikiComplexMessages.php.
NamespaceCM::$elementsInArray = false [protected] |
Reimplemented from ComplexMessages.
Definition at line 732 of file MediaWikiComplexMessages.php.
NamespaceCM::$id = SpecialMagic::MODULE_NAMESPACE [protected] |
Reimplemented from ComplexMessages.
Definition at line 731 of file MediaWikiComplexMessages.php.