MediaWiki
1.30.2
|
Public Member Functions | |
__construct (array $options, $extension) | |
execute () | |
Execute the script. More... | |
Public Member Functions inherited from CheckLanguageCLI | |
__construct (array $options) | |
outputWiki () | |
Output the checks results as wiki text. More... | |
Protected Member Functions | |
checkLanguage ( $code) | |
Check a language and show the results. More... | |
defaultChecks () | |
Get the default checks. More... | |
easyChecks () | |
Get the checks that can easily be treated by non-speakers of the language. More... | |
help () | |
Get help. More... | |
nonMessageChecks () | |
Get the checks which check other things than messages. More... | |
Protected Member Functions inherited from CheckLanguageCLI | |
doChecks () | |
Execute the checks. More... | |
formatKey ( $key, $code) | |
Format a message key. More... | |
getCheckBlacklist () | |
Get the check blacklist. More... | |
getChecks () | |
Get all checks. More... | |
getDescriptions () | |
Get all check descriptions. More... | |
getTotalCount () | |
Get total count for each check non-messages check. More... | |
isCheckBlacklisted ( $check, $code, $message) | |
Verify whether a check is blacklisted. More... | |
isEmpty () | |
Check if there are any results for the checks, in any language. More... | |
outputText () | |
Output the checks results as plain text. More... | |
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 490 of file checkLanguage.inc.
CheckExtensionsCLI::__construct | ( | array | $options, |
$extension | |||
) |
array | $options | Options for script. |
string | $extension | The extension name (or names). |
Definition at line 497 of file checkLanguage.inc.
|
protected |
Check a language and show the results.
string | $code | The language code. |
MWException |
Reimplemented from CheckLanguageCLI.
Definition at line 672 of file checkLanguage.inc.
|
protected |
Get the default checks.
Reimplemented from CheckLanguageCLI.
Definition at line 581 of file checkLanguage.inc.
References $options.
|
protected |
Get the checks that can easily be treated by non-speakers of the language.
Reimplemented from CheckLanguageCLI.
Definition at line 600 of file checkLanguage.inc.
CheckExtensionsCLI::execute | ( | ) |
Execute the script.
Reimplemented from CheckLanguageCLI.
Definition at line 663 of file checkLanguage.inc.
|
protected |
Get help.
Reimplemented from CheckLanguageCLI.
Definition at line 610 of file checkLanguage.inc.
References as, and extensions.
|
protected |
Get the checks which check other things than messages.
Reimplemented from CheckLanguageCLI.
Definition at line 592 of file checkLanguage.inc.
|
private |
Definition at line 491 of file checkLanguage.inc.