MediaWiki
REL1_24
|
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 |
Definition at line 556 of file checkLanguage.inc.
CheckExtensionsCLI::__construct | ( | array $ | options, |
$ | extension | ||
) |
Constructor.
array | $options | Options for script. |
string | $extension | The extension name (or names). |
Definition at line 564 of file checkLanguage.inc.
References $extensions, array(), as, code, defaultChecks(), easyChecks(), extensions, global, help(), output(), and print.
CheckExtensionsCLI::checkLanguage | ( | $ | code | ) | [protected] |
Check a language and show the results.
string | $code | The language code. |
MWException |
Reimplemented from CheckLanguageCLI.
Definition at line 739 of file checkLanguage.inc.
References CheckLanguageCLI\$code, array(), as, extensions, CheckLanguageCLI\isEmpty(), output(), CheckLanguageCLI\outputText(), and CheckLanguageCLI\outputWiki().
Referenced by help().
CheckExtensionsCLI::defaultChecks | ( | ) | [protected] |
Get the default checks.
Reimplemented from CheckLanguageCLI.
Definition at line 648 of file checkLanguage.inc.
References array().
Referenced by __construct().
CheckExtensionsCLI::easyChecks | ( | ) | [protected] |
Get the checks that can easily be treated by non-speakers of the language.
Reimplemented from CheckLanguageCLI.
Definition at line 667 of file checkLanguage.inc.
References array().
Referenced by __construct().
Execute the script.
Reimplemented from CheckLanguageCLI.
Definition at line 730 of file checkLanguage.inc.
References CheckLanguageCLI\doChecks().
CheckExtensionsCLI::help | ( | ) | [protected] |
Get help.
Reimplemented from CheckLanguageCLI.
Definition at line 677 of file checkLanguage.inc.
References are, broken, characters, check, checkLanguage(), code, complete, content, empty, errors, extensions, following, form, headers, in, installation, is, language, line, list, message, messages, name, of, off, output(), pages, result, settings, specific, them, used, values, well, and wiki.
Referenced by __construct().
CheckExtensionsCLI::nonMessageChecks | ( | ) | [protected] |
Get the checks which check other things than messages.
Reimplemented from CheckLanguageCLI.
Definition at line 659 of file checkLanguage.inc.
References array().
CheckExtensionsCLI::$extensions [private] |
Definition at line 557 of file checkLanguage.inc.
Referenced by __construct().