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
Add ICU mapping for versions 62 and 63
[lhc/web/wiklou.git]
/
includes
/
collation
/
IcuCollation.php
diff --git
a/includes/collation/IcuCollation.php
b/includes/collation/IcuCollation.php
index
7d9f168
..
8fea3ec
100644
(file)
--- a/
includes/collation/IcuCollation.php
+++ b/
includes/collation/IcuCollation.php
@@
-75,8
+75,8
@@
class IcuCollation extends Collation {
* letters (denoted by keys starting with '-').
*
* These are additions to (or subtractions from) the data stored in the
* letters (denoted by keys starting with '-').
*
* These are additions to (or subtractions from) the data stored in the
- * first-letters-root.php data file (which among others includes full basic
l
atin,
- *
cyrillic and g
reek alphabets).
+ * first-letters-root.php data file (which among others includes full basic
L
atin,
+ *
Cyrillic and G
reek alphabets).
*
* "Separate letter" is a letter that would have a separate heading/section
* for it in a dictionary or a phone book in this language. This data isn't
*
* "Separate letter" is a letter that would have a separate heading/section
* for it in a dictionary or a phone book in this language. This data isn't
@@
-124,7
+124,7
@@
class IcuCollation extends Collation {
'en' => [],
'eo' => [ "Ĉ", "Ĝ", "Ĥ", "Ĵ", "Ŝ", "Ŭ" ],
'es' => [ "Ñ" ],
'en' => [],
'eo' => [ "Ĉ", "Ĝ", "Ĥ", "Ĵ", "Ŝ", "Ŭ" ],
'es' => [ "Ñ" ],
- 'et' => [ "Š", "Ž", "Õ", "Ä", "Ö", "Ü"
, "W" ], // added W for CollationEt (xx-uca-et)
+ 'et' => [ "Š", "Ž", "Õ", "Ä", "Ö", "Ü"
],
'eu' => [ "Ñ" ], // not in libicu
'fa' => [
// RTL, let's put each letter on a new line
'eu' => [ "Ñ" ], // not in libicu
'fa' => [
// RTL, let's put each letter on a new line
@@
-560,6
+560,8
@@
class IcuCollation extends Collation {
$versionPrefix = substr( $icuVersion, 0, 3 );
// Source: http://site.icu-project.org/download
$map = [
$versionPrefix = substr( $icuVersion, 0, 3 );
// Source: http://site.icu-project.org/download
$map = [
+ '63.' => '11.0',
+ '62.' => '11.0',
'61.' => '10.0',
'60.' => '10.0',
'59.' => '9.0',
'61.' => '10.0',
'60.' => '10.0',
'59.' => '9.0',