X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fsite%2FMediaWikiSite.php;h=029919c49ddd24d28b229018ca2a4fcfa49076ea;hb=58410c60d5d41bb35daea6f6fd6f37f4249210d3;hp=9711f04207969fd5b03cd1f8fc9ec691caa743e9;hpb=d78b4eeff8cdf47ba6f5da1257c4a6e9de688316;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/site/MediaWikiSite.php b/includes/site/MediaWikiSite.php index 9711f04207..029919c49d 100644 --- a/includes/site/MediaWikiSite.php +++ b/includes/site/MediaWikiSite.php @@ -113,10 +113,10 @@ class MediaWikiSite extends Site { return $t->getPrefixedText(); } else { - // Make sure the string is normalized into NFC (due to the bug 40017) + // Make sure the string is normalized into NFC (due to T42017) // but do nothing to the whitespaces, that should work appropriately. - // @see https://bugzilla.wikimedia.org/show_bug.cgi?id=40017 - $pageName = UtfNormal::cleanUp( $pageName ); + // @see https://phabricator.wikimedia.org/T42017 + $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 ) {