MediaWiki REL1_30
|
Public Member Functions | |
__construct (array $options, $extension) | |
execute () | |
Execute the script. | |
Public Member Functions inherited from CheckLanguageCLI | |
__construct (array $options) | |
outputWiki () | |
Output the checks results as wiki text. | |
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. | |
Protected Member Functions inherited from CheckLanguageCLI | |
doChecks () | |
Execute the checks. | |
formatKey ( $key, $code) | |
Format a message key. | |
getCheckBlacklist () | |
Get the check blacklist. | |
getChecks () | |
Get all checks. | |
getDescriptions () | |
Get all check descriptions. | |
getTotalCount () | |
Get total count for each check non-messages check. | |
isCheckBlacklisted ( $check, $code, $message) | |
Verify whether a check is blacklisted. | |
isEmpty () | |
Check if there are any results for the checks, in any language. | |
outputText () | |
Output the checks results as plain text. | |
Private Attributes | |
$extensions | |
Additional Inherited Members | |
Protected Attributes inherited from CheckLanguageCLI | |
$checkAll = false | |
$checks = [] | |
$code = null | |
$doLinks = false | |
$L = null | |
$level = 2 | |
$linksPrefix = '' | |
$output = 'plain' | |
$results = [] | |
$wikiCode = 'en' | |
Definition at line 555 of file checkLanguage.inc.
CheckExtensionsCLI::__construct | ( | array | $options, |
$extension ) |
array | $options | Options for script. |
string | $extension | The extension name (or names). |
Definition at line 562 of file checkLanguage.inc.
References $extensions, $options, $wgLanguageCode, defaultChecks(), easyChecks(), help(), output(), and print.
|
protected |
Check a language and show the results.
string | $code | The language code. |
MWException |
Reimplemented from CheckLanguageCLI.
Definition at line 737 of file checkLanguage.inc.
References CheckLanguageCLI\$code, CheckLanguageCLI\isEmpty(), output(), CheckLanguageCLI\outputText(), and CheckLanguageCLI\outputWiki().
Referenced by help().
|
protected |
Get the default checks.
Reimplemented from CheckLanguageCLI.
Definition at line 646 of file checkLanguage.inc.
Referenced by __construct().
|
protected |
Get the checks that can easily be treated by non-speakers of the language.
Reimplemented from CheckLanguageCLI.
Definition at line 665 of file checkLanguage.inc.
Referenced by __construct().
CheckExtensionsCLI::execute | ( | ) |
Execute the script.
Reimplemented from CheckLanguageCLI.
Definition at line 728 of file checkLanguage.inc.
References CheckLanguageCLI\doChecks().
|
protected |
Get help.
Reimplemented from CheckLanguageCLI.
Definition at line 675 of file checkLanguage.inc.
References broken, check, checkLanguage(), code, complete, extensions, First, form, headers, help(), in, language(), line, links, messages, name, names, output(), pages, perform, settings, used, and values.
Referenced by __construct(), and help().
|
protected |
Get the checks which check other things than messages.
Reimplemented from CheckLanguageCLI.
Definition at line 657 of file checkLanguage.inc.
|
private |
Definition at line 556 of file checkLanguage.inc.
Referenced by __construct().