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 "Add CollationFa"
[lhc/web/wiklou.git]
/
includes
/
collation
/
Collation.php
diff --git
a/includes/collation/Collation.php
b/includes/collation/Collation.php
index
0e0ee2f
..
7659d6c
100644
(file)
--- a/
includes/collation/Collation.php
+++ b/
includes/collation/Collation.php
@@
-46,9
+46,13
@@
abstract class Collation {
* @return Collation
*/
public static function factory( $collationName ) {
* @return Collation
*/
public static function factory( $collationName ) {
+ global $wgContLang;
+
switch ( $collationName ) {
case 'uppercase':
return new UppercaseCollation;
switch ( $collationName ) {
case 'uppercase':
return new UppercaseCollation;
+ case 'numeric':
+ return new NumericUppercaseCollation( $wgContLang );
case 'identity':
return new IdentityCollation;
case 'uca-default':
case 'identity':
return new IdentityCollation;
case 'uca-default':