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 "Fix sessionfailure i18n message during authentication"
[lhc/web/wiklou.git]
/
maintenance
/
language
/
digit2html.php
diff --git
a/maintenance/language/digit2html.php
b/maintenance/language/digit2html.php
index
5bdc8a7
..
f1e74ad
100644
(file)
--- 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:
class Digit2Html extends Maintenance {
# A list of unicode numerals is available at:
- # http://www.fileformat.info/info/unicode/category/Nd/list.htm
+ # http
s
://www.fileformat.info/info/unicode/category/Nd/list.htm
private $mLangs = [
'Ar', 'As', 'Bh', 'Bo', 'Dz',
'Fa', 'Gu', 'Hi', 'Km', 'Kn',
private $mLangs = [
'Ar', 'As', 'Bh', 'Bo', 'Dz',
'Fa', 'Gu', 'Hi', 'Km', 'Kn',
@@
-57,7
+57,7
@@
class Digit2Html extends Maintenance {
$this->output( "OK\n\$digitTransformTable = [\n" );
foreach ( $digitTransformTable as $latin => $translation ) {
$this->output( "OK\n\$digitTransformTable = [\n" );
foreach ( $digitTransformTable as $latin => $translation ) {
- $htmlent =
utf8ToHexSequence
( $translation );
+ $htmlent =
bin2hex
( $translation );
$this->output( "'$latin' => '$translation', # &#x$htmlent;\n" );
}
$this->output( "];\n" );
$this->output( "'$latin' => '$translation', # &#x$htmlent;\n" );
}
$this->output( "];\n" );
@@
-65,5
+65,5
@@
class Digit2Html extends Maintenance {
}
}
}
}
-$maintClass =
"Digit2Html"
;
+$maintClass =
Digit2Html::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;