From: jenkins-bot Date: Wed, 22 Feb 2017 21:18:48 +0000 (+0000) Subject: Merge "Collation: Allow uppercase letters in UCA collations' names" X-Git-Tag: 1.31.0-rc.0~4025 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=ca31fbc4dcf33ecdf5e415891ed499b4cd2021d6;hp=f4059af817d17baf81c01aa14859a4d7932bef1f;p=lhc%2Fweb%2Fwiklou.git Merge "Collation: Allow uppercase letters in UCA collations' names" --- diff --git a/includes/collation/Collation.php b/includes/collation/Collation.php index 7659d6c4d5..d67bc7eecd 100644 --- a/includes/collation/Collation.php +++ b/includes/collation/Collation.php @@ -67,7 +67,7 @@ abstract class Collation { return new CollationFa; default: $match = []; - if ( preg_match( '/^uca-([a-z@=-]+)$/', $collationName, $match ) ) { + if ( preg_match( '/^uca-([A-Za-z@=-]+)$/', $collationName, $match ) ) { return new IcuCollation( $match[1] ); }