From f6d65e533c62f6deb21342d4901ece24497b433e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 4 Jun 2015 07:31:04 +0200 Subject: Update to MediaWiki 1.25.1 --- includes/site/MediaWikiSite.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/site/MediaWikiSite.php') diff --git a/includes/site/MediaWikiSite.php b/includes/site/MediaWikiSite.php index 9711f042..95631f8e 100644 --- a/includes/site/MediaWikiSite.php +++ b/includes/site/MediaWikiSite.php @@ -116,7 +116,7 @@ class MediaWikiSite extends Site { // Make sure the string is normalized into NFC (due to the bug 40017) // but do nothing to the whitespaces, that should work appropriately. // @see https://bugzilla.wikimedia.org/show_bug.cgi?id=40017 - $pageName = UtfNormal::cleanUp( $pageName ); + $pageName = UtfNormal\Validator::cleanUp( $pageName ); // Build the args for the specific call $args = array( @@ -137,7 +137,7 @@ class MediaWikiSite extends Site { // Go on call the external site // @todo we need a good way to specify a timeout here. - $ret = Http::get( $url ); + $ret = Http::get( $url, array(), __METHOD__ ); } if ( $ret === false ) { -- cgit v1.2.3-54-g00ecf