MediaWiki
REL1_30
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
print
print
Definition
cleanup.php:99
$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:1971
$e
returning false will NOT prevent logging $e
Definition
hooks.txt:2146
maintenance
language
checkLanguage.php
Generated on Mon Nov 25 2024 15:43:26 for MediaWiki by
1.10.0