Avoid use of deprecated wfGetUrlUtils

Change-Id: I36cabab5450e4476418468e43532de0577cd4ed1
This commit is contained in:
Ebrahim Byagowi 2024-09-08 09:41:54 +03:30
parent 37a6b612b5
commit 1673b7bfa2

View file

@ -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;
} }