mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Interwiki
synced 2024-11-27 15:50:32 +00:00
Avoid use of deprecated wfGetUrlUtils
Change-Id: I36cabab5450e4476418468e43532de0577cd4ed1
This commit is contained in:
parent
37a6b612b5
commit
1673b7bfa2
|
@ -319,7 +319,7 @@ class SpecialInterwiki extends SpecialPage {
|
||||||
// Simple URL validation: check that the protocol is one of
|
// Simple URL validation: check that the protocol is one of
|
||||||
// the supported protocols for this wiki.
|
// the supported protocols for this wiki.
|
||||||
// (T32600)
|
// (T32600)
|
||||||
if ( !wfGetUrlUtils()->parse( $theurl ) ) {
|
if ( !$services->getUrlUtils()->parse( $theurl ) ) {
|
||||||
$status->fatal( 'interwiki-submit-invalidurl' );
|
$status->fatal( 'interwiki-submit-invalidurl' );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue