27require_once __DIR__ .
'/../Maintenance.php';
42 'Ar',
'As',
'Bh',
'Bo',
'Dz',
43 'Fa',
'Gu',
'Hi',
'Km',
'Kn',
44 'Ks',
'Lo',
'Ml',
'Mr',
'Ne',
45 'New',
'Or',
'Pa',
'Pi',
'Sa'
49 parent::__construct();
55 foreach ( $this->mLangs as $code ) {
56 $filename = $languageNameUtils->getMessagesFileName( $code );
57 $this->
output(
"Loading language [$code] ..." );
59 require_once $filename;
61 $this->
error(
"\$digitTransformTable not found for lang: $code" );
65 $this->
output(
"OK\n\$digitTransformTable = [\n" );
67 $htmlent = bin2hex( $translation );
68 $this->
output(
"'$latin' => '$translation', # &#x$htmlent;\n" );
77require_once RUN_MAINTENANCE_IF_MAIN;
Maintenance script that check digit transformation.
execute()
Do the actual work.
__construct()
Default constructor.
Abstract maintenance class for quickly writing and churning out maintenance scripts with minimal effo...
output( $out, $channel=null)
Throw some output to the user.
error( $err, $die=0)
Throw an error to the user.
getServiceContainer()
Returns the main service container.
addDescription( $text)
Set the description text.