MediaWiki
REL1_31
checkLanguage.php
Go to the documentation of this file.
1
<?php
24
$optionsWithArgs
= [
25
'lang'
,
'level'
,
'blacklist'
,
'whitelist'
,
'wikilang'
,
'output'
,
'prefix'
26
];
27
$optionsWithoutArgs
= [
28
'help'
,
'links'
,
'noexif'
,
'easy'
,
'duplicate'
,
'all'
29
];
30
require_once __DIR__ .
'/../commandLine.inc'
;
31
require_once
'checkLanguage.inc'
;
32
require_once
'languages.inc'
;
33
34
$cli
=
new
CheckLanguageCLI
(
$options
);
35
36
try
{
37
$cli
->execute();
38
}
catch
( Exception
$e
) {
39
print
'Error: '
.
$e
->getMessage() .
"\n"
;
40
}
$cli
$cli
Definition
checkLanguage.php:34
$optionsWithoutArgs
$optionsWithoutArgs
Definition
checkLanguage.php:27
$optionsWithArgs
$optionsWithArgs
Definition
checkLanguage.php:24
CheckLanguageCLI
Definition
checkLanguage.inc:27
$options
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped & $options
Definition
hooks.txt:2001
$e
returning false will NOT prevent logging $e
Definition
hooks.txt:2176
print
while(( $__line=Maintenance::readconsole()) !==false) print
Definition
eval.php:64
maintenance
language
checkLanguage.php
Generated on Mon Nov 25 2024 15:36:02 for MediaWiki by
1.10.0