X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Flanguage%2Fdigit2html.php;h=bb1f3d2407634042f4df70d06e49c5bc5a00527a;hb=d82a93c6341f96618378256ecf459e1eae6e09b5;hp=46616db56be25a63ed42d2dd98b6f73c5cc685c2;hpb=2f885ee6b797e5a176ce7b270b674a04b5945b06;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/language/digit2html.php b/maintenance/language/digit2html.php index 46616db56b..bb1f3d2407 100644 --- a/maintenance/language/digit2html.php +++ b/maintenance/language/digit2html.php @@ -31,7 +31,7 @@ require_once __DIR__ . '/../Maintenance.php'; class Digit2Html extends Maintenance { # A list of unicode numerals is available at: - # http://www.fileformat.info/info/unicode/category/Nd/list.htm + # https://www.fileformat.info/info/unicode/category/Nd/list.htm private $mLangs = [ 'Ar', 'As', 'Bh', 'Bo', 'Dz', 'Fa', 'Gu', 'Hi', 'Km', 'Kn', @@ -55,12 +55,12 @@ class Digit2Html extends Maintenance { continue; } - $this->output( "OK\n\$digitTransformTable = array(\n" ); + $this->output( "OK\n\$digitTransformTable = [\n" ); foreach ( $digitTransformTable as $latin => $translation ) { $htmlent = utf8ToHexSequence( $translation ); $this->output( "'$latin' => '$translation', # &#x$htmlent;\n" ); } - $this->output( ");\n" ); + $this->output( "];\n" ); } } }