Public Member Functions | |
| __construct (Array $options) | |
| Constructor. | |
Protected Member Functions | |
| defaultChecks () | |
| Get the default checks. | |
| nonMessageChecks () | |
| Get the checks which check other things than messages. | |
| easyChecks () | |
| Get the checks that can easily be treated by non-speakers of the language. | |
| getChecks () | |
| Get all checks. | |
| getTotalCount () | |
| Get total count for each check non-messages check. | |
| getDescriptions () | |
| Get all check descriptions. | |
| help () | |
| Get help. | |
Protected Attributes | |
| $code = null | |
| $level = 2 | |
| $doLinks = false | |
| $wikiCode = 'en' | |
| $checkAll = false | |
| $output = 'plain' | |
| $checks = array() | |
| $L = null | |
| $results = array() | |
Private Attributes | |
| $includeExif = false | |
Definition at line 6 of file checkLanguage.inc.
| CheckLanguageCLI::__construct | ( | Array $ | options | ) |
Constructor.
| $options | Options for script. |
Definition at line 24 of file checkLanguage.inc.
References $wgLanguageCode, defaultChecks(), easyChecks(), help(), and output().
| CheckLanguageCLI::defaultChecks | ( | ) | [protected] |
Get the default checks.
Definition at line 73 of file checkLanguage.inc.
Referenced by __construct().
| CheckLanguageCLI::easyChecks | ( | ) | [protected] |
Get the checks that can easily be treated by non-speakers of the language.
Definition at line 97 of file checkLanguage.inc.
Referenced by __construct().
| CheckLanguageCLI::getChecks | ( | ) | [protected] |
Get all checks.
Definition at line 108 of file checkLanguage.inc.
| CheckLanguageCLI::getDescriptions | ( | ) | [protected] |
Get all check descriptions.
Definition at line 155 of file checkLanguage.inc.
| CheckLanguageCLI::getTotalCount | ( | ) | [protected] |
Get total count for each check non-messages check.
Definition at line 138 of file checkLanguage.inc.
| CheckLanguageCLI::help | ( | ) | [protected] |
Get help.
Definition at line 183 of file checkLanguage.inc.
References $code, $count, is(), n, obsolete, and output().
Referenced by __construct().
| CheckLanguageCLI::nonMessageChecks | ( | ) | [protected] |
Get the checks which check other things than messages.
Definition at line 86 of file checkLanguage.inc.
CheckLanguageCLI::$checkAll = false [protected] |
Definition at line 11 of file checkLanguage.inc.
CheckLanguageCLI::$checks = array() [protected] |
Definition at line 13 of file checkLanguage.inc.
CheckLanguageCLI::$code = null [protected] |
CheckLanguageCLI::$doLinks = false [protected] |
Definition at line 9 of file checkLanguage.inc.
CheckLanguageCLI::$includeExif = false [private] |
Definition at line 18 of file checkLanguage.inc.
CheckLanguageCLI::$L = null [protected] |
Definition at line 14 of file checkLanguage.inc.
CheckLanguageCLI::$level = 2 [protected] |
Definition at line 8 of file checkLanguage.inc.
CheckLanguageCLI::$output = 'plain' [protected] |
Definition at line 12 of file checkLanguage.inc.
CheckLanguageCLI::$results = array() [protected] |
Definition at line 16 of file checkLanguage.inc.
CheckLanguageCLI::$wikiCode = 'en' [protected] |
Definition at line 10 of file checkLanguage.inc.
1.5.9