overrideConfigValue( MainConfigNames::UrlProtocols, [ '//', 'http://', 'https://', 'file://', 'mailto:', 'news:', ] ); } /** * Same tests as the UrlUtils method * @dataProvider UrlUtilsProviders::provideParse */ public function testWfParseUrl( $url, $parts ) { $this->assertEquals( $parts, wfParseUrl( $url ) ); } }