MediaWiki
REL1_22
|
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 483 of file checkLanguage.inc.
CheckExtensionsCLI::__construct | ( | array $ | options, |
$ | extension | ||
) |
Constructor.
$options | array Options for script. |
$extension | string The extension name (or names). |
Definition at line 491 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.
$code | string The language code. |
MWException |
Reimplemented from CheckLanguageCLI.
Definition at line 650 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 575 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 594 of file checkLanguage.inc.
References array().
Referenced by __construct().
Execute the script.
Reimplemented from CheckLanguageCLI.
Definition at line 641 of file checkLanguage.inc.
References CheckLanguageCLI\doChecks().
CheckExtensionsCLI::help | ( | ) | [protected] |
Get help.
Reimplemented from CheckLanguageCLI.
Definition at line 604 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, only, 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 586 of file checkLanguage.inc.
References array().
CheckExtensionsCLI::$extensions [private] |
Definition at line 484 of file checkLanguage.inc.
Referenced by __construct().