MediaWiki  REL1_20
MakeLanguageSpec Class Reference
Inheritance diagram for MakeLanguageSpec:
Collaboration diagram for MakeLanguageSpec:

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 execute ()
 Do the actual work.

Static Public Attributes

static $keyToTestArgs

Private Member Functions

 getMessagesAndTests ()
 writeJavascriptFile ($messages, $tests, $dataSpecFile)

Detailed Description

Definition at line 21 of file makeJqueryMsgSpec.php.


Constructor & Destructor Documentation

Default constructor.

Children should call this *first* if implementing their own constructors

Reimplemented from Maintenance.

Definition at line 40 of file makeJqueryMsgSpec.php.


Member Function Documentation

Do the actual work.

All child classes will need to implement this

Reimplemented from Maintenance.

Definition at line 46 of file makeJqueryMsgSpec.php.

References $messages, getMessagesAndTests(), and writeJavascriptFile().

Definition at line 51 of file makeJqueryMsgSpec.php.

References $messages, $result, and wfMessage().

Referenced by execute().

MakeLanguageSpec::writeJavascriptFile ( messages,
tests,
dataSpecFile 
) [private]

Definition at line 79 of file makeJqueryMsgSpec.php.

References $messages, $success, and Services_JSON\encode().

Referenced by execute().


Member Data Documentation

MakeLanguageSpec::$keyToTestArgs [static]
Initial value:
 array(
                'undelete_short' => array( 
                        array( 0 ), 
                        array( 1 ), 
                        array( 2 ), 
                        array( 5 ), 
                        array( 21 ), 
                        array( 101 ) 
                ),
                'category-subcat-count' => array(  
                        array( 0, 10 ), 
                        array( 1, 1 ), 
                        array( 1, 2 ), 
                        array( 3, 30 ) 
                )
        )

Definition at line 23 of file makeJqueryMsgSpec.php.


The documentation for this class was generated from the following file: