Index: trunk/extensions/WikimediaMaintenance/dumpInterwiki.php |
— | — | @@ -141,13 +141,6 @@ |
142 | 142 | |
143 | 143 | $url = $matches[2]; |
144 | 144 | if ( preg_match( '/(wikipedia|wiktionary|wikisource|wikiquote|wikibooks|wikimedia|wikinews|wikiversity|wikimediafoundation|mediawiki)\.org/', $url ) ) { |
145 | | - if ( $this->hasOption( 'protocolrelative' ) ) { |
146 | | - if ( substr( $url, 0, 5 ) == 'http:' ) { |
147 | | - $url = substr( $url, 5 ); |
148 | | - } else if ( substr( $url, 0, 6 ) == 'https:' ) { |
149 | | - $url = substr( $url, 6 ); |
150 | | - } |
151 | | - } |
152 | 145 | $local = 1; |
153 | 146 | } else { |
154 | 147 | $local = 0; |