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 "Drop index oi_name_archive_name on table oldimage"
[lhc/web/wiklou.git]
/
includes
/
collation
/
Collation.php
diff --git
a/includes/collation/Collation.php
b/includes/collation/Collation.php
index
9950a11
..
d67bc7e
100644
(file)
--- a/
includes/collation/Collation.php
+++ b/
includes/collation/Collation.php
@@
-63,9
+63,11
@@
abstract class Collation {
return new CollationCkb;
case 'xx-uca-et':
return new CollationEt;
return new CollationCkb;
case 'xx-uca-et':
return new CollationEt;
+ case 'xx-uca-fa':
+ return new CollationFa;
default:
$match = [];
default:
$match = [];
- if ( preg_match( '/^uca-([a-z@=-]+)$/', $collationName, $match ) ) {
+ if ( preg_match( '/^uca-([
A-Z
a-z@=-]+)$/', $collationName, $match ) ) {
return new IcuCollation( $match[1] );
}
return new IcuCollation( $match[1] );
}