X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FWebRequest.php;h=0a7f416cffad5f2a07fea4540e5b924748719b16;hb=6f7e982df6479e27c3b17f2deda8404ef55f50e6;hp=7bfb5a43e481dba11d0844ccb1f48b59ea183651;hpb=4f9653e76ad8d7e03f80c83e001efd3993d2fab4;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WebRequest.php b/includes/WebRequest.php index 7bfb5a43e4..0a7f416cff 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -123,9 +123,9 @@ class WebRequest { if ( !preg_match( '!^https?://!', $url ) ) { $url = 'http://unused' . $url; } - MediaWiki\suppressWarnings(); + Wikimedia\suppressWarnings(); $a = parse_url( $url ); - MediaWiki\restoreWarnings(); + Wikimedia\restoreWarnings(); if ( $a ) { $path = isset( $a['path'] ) ? $a['path'] : '';