X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=includes%2FWebRequest.php;h=0a7f416cffad5f2a07fea4540e5b924748719b16;hb=ec550d4823c261c4a2f4fb153defb6283cfd7b48;hp=7bfb5a43e481dba11d0844ccb1f48b59ea183651;hpb=537bc1df7d20002d05667436a9b21dc2e43a6927;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'] : '';