NamespaceCM Class Reference

Adds support for translating namespace names via Special:AdvancedTranslate. More...

Inheritance diagram for NamespaceCM:
Inheritance graph
[legend]
Collaboration diagram for NamespaceCM:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Adds support for translating namespace names via Special:AdvancedTranslate.

Todo:
Needs documentation.

Definition at line 730 of file MediaWikiComplexMessages.php.


Constructor & Destructor Documentation

NamespaceCM::__construct ( code  ) 

Reimplemented from ComplexMessages.

Definition at line 735 of file MediaWikiComplexMessages.php.


Member Function Documentation

NamespaceCM::validateEach ( &$  errors = array(),
group,
&$  used 
) [protected]

Reimplemented from ComplexMessages.

Definition at line 766 of file MediaWikiComplexMessages.php.

Here is the call graph for this function:


Member Data Documentation

NamespaceCM::$constants [protected]
Initial value:
 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.


The documentation for this class was generated from the following file:
Generated on Tue Oct 29 00:00:50 2013 for MediaWiki Translate Extension by  doxygen 1.6.3