aboutsummaryrefslogtreecommitdiffstats
path: root/includes/WebRequest.php
diff options
context:
space:
mode:
authorKunal Mehta <legoktm@gmail.com>2015-03-07 01:27:42 -0800
committerKunal Mehta <legoktm@gmail.com>2015-03-24 12:59:26 -0700
commit13975fe76abd4d388beb097e76eb5053acb6da62 (patch)
tree30fafb87c6b7b5f75d2ce53a588fa90ed0e29593 /includes/WebRequest.php
parent28f632a2eacd9bf3249f24dc9d6e852f7fe35057 (diff)
downloadmediawikicore-13975fe76abd4d388beb097e76eb5053acb6da62.tar.gz
mediawikicore-13975fe76abd4d388beb097e76eb5053acb6da62.zip
Use wikimedia/utfnormal library, add backwards-compatability layer
This drops support for the custom utf8 normal PHP extension in favor of the intl extension. Bug: T90825 Change-Id: Ifbaeb2ef684217cf6187ccc4fb4d303f89608300
Diffstat (limited to 'includes/WebRequest.php')
-rw-r--r--includes/WebRequest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/WebRequest.php b/includes/WebRequest.php
index f86a45494e99..df88b355fae5 100644
--- a/includes/WebRequest.php
+++ b/includes/WebRequest.php
@@ -289,7 +289,7 @@ class WebRequest {
}
} else {
global $wgContLang;
- $data = isset( $wgContLang ) ? $wgContLang->normalize( $data ) : UtfNormal::cleanUp( $data );
+ $data = isset( $wgContLang ) ? $wgContLang->normalize( $data ) : UtfNormal\Validator::cleanUp( $data );
}
return $data;
}