dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Revert "Gallery: Use intrinsic width for gallery to center caption""
[lhc/web/wiklou.git]
/
maintenance
/
language
/
digit2html.php
diff --git
a/maintenance/language/digit2html.php
b/maintenance/language/digit2html.php
index
eddfa26
..
5bdc8a7
100644
(file)
--- a/
maintenance/language/digit2html.php
+++ b/
maintenance/language/digit2html.php
@@
-32,12
+32,12
@@
class Digit2Html extends Maintenance {
# A list of unicode numerals is available at:
# http://www.fileformat.info/info/unicode/category/Nd/list.htm
# A list of unicode numerals is available at:
# http://www.fileformat.info/info/unicode/category/Nd/list.htm
- private $mLangs =
array(
+ private $mLangs =
[
'Ar', 'As', 'Bh', 'Bo', 'Dz',
'Fa', 'Gu', 'Hi', 'Km', 'Kn',
'Ks', 'Lo', 'Ml', 'Mr', 'Ne',
'New', 'Or', 'Pa', 'Pi', 'Sa'
'Ar', 'As', 'Bh', 'Bo', 'Dz',
'Fa', 'Gu', 'Hi', 'Km', 'Kn',
'Ks', 'Lo', 'Ml', 'Mr', 'Ne',
'New', 'Or', 'Pa', 'Pi', 'Sa'
-
)
;
+
]
;
public function __construct() {
parent::__construct();
public function __construct() {
parent::__construct();
@@
-55,12
+55,12
@@
class Digit2Html extends Maintenance {
continue;
}
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" );
}
foreach ( $digitTransformTable as $latin => $translation ) {
$htmlent = utf8ToHexSequence( $translation );
$this->output( "'$latin' => '$translation', # &#x$htmlent;\n" );
}
- $this->output( "
)
;\n" );
+ $this->output( "
]
;\n" );
}
}
}
}
}
}