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

List of all members.

Public Member Functions

 __construct (Array $options, $extension)
 Constructor.
 execute ()
 Execute the script.

Protected Member Functions

 checkLanguage ($code)
 Check a language and show the results.
 defaultChecks ()
 Get the default checks.
 easyChecks ()
 Get the checks that can easily be treated by non-speakers of the language.
 help ()
 Get help.
 nonMessageChecks ()
 Get the checks which check other things than messages.

Private Attributes

 $extensions

Detailed Description

Definition at line 479 of file checkLanguage.inc.


Constructor & Destructor Documentation

CheckExtensionsCLI::__construct ( Array $  options,
extension 
)

Constructor.

Parameters:
$optionsarray Options for script.
$extensionstring The extension name (or names).

Definition at line 487 of file checkLanguage.inc.

References $extensions, defaultChecks(), easyChecks(), echo, help(), and print.


Member Function Documentation

CheckExtensionsCLI::checkLanguage ( code) [protected]

Check a language and show the results.

Parameters:
$codestring The language code.

Reimplemented from CheckLanguageCLI.

Definition at line 645 of file checkLanguage.inc.

References CheckLanguageCLI\$code, echo, CheckLanguageCLI\isEmpty(), CheckLanguageCLI\outputText(), and CheckLanguageCLI\outputWiki().

Referenced by help().

Get the default checks.

Returns:
array A list of the default checks.

Reimplemented from CheckLanguageCLI.

Definition at line 571 of file checkLanguage.inc.

Referenced by __construct().

Get the checks that can easily be treated by non-speakers of the language.

Returns:
arrayA list of the easy checks.

Reimplemented from CheckLanguageCLI.

Definition at line 590 of file checkLanguage.inc.

Referenced by __construct().

Execute the script.

Reimplemented from CheckLanguageCLI.

Definition at line 637 of file checkLanguage.inc.

References CheckLanguageCLI\doChecks().

CheckExtensionsCLI::help ( ) [protected]

Get help.

Returns:
string The help string.

Reimplemented from CheckLanguageCLI.

Definition at line 600 of file checkLanguage.inc.

References checkLanguage().

Referenced by __construct().

Get the checks which check other things than messages.

Returns:
array A list of the non-message checks.

Reimplemented from CheckLanguageCLI.

Definition at line 582 of file checkLanguage.inc.


Member Data Documentation

CheckExtensionsCLI::$extensions [private]

Definition at line 480 of file checkLanguage.inc.

Referenced by __construct().


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