r98245 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98244‎ | r98245 | r98246 >
Date:20:05, 27 September 2011
Author:catrope
Status:ok
Tags:
Comment:
1.17wmf1: MFT r98242
Modified paths:
  • /branches/wmf/1.17wmf1/maintenance/dumpInterwiki.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/maintenance/dumpInterwiki.php
@@ -134,7 +134,7 @@
135135 $prefix = str_replace( ' ', '_', $prefix );
136136
137137 $url = $matches[2];
138 - if ( preg_match( '/(wikipedia|wiktionary|wikisource|wikiquote|wikibooks|wikimedia)\.org/', $url ) ) {
 138+ if ( preg_match( '/(wikipedia|wiktionary|wikisource|wikiquote|wikibooks|wikimedia|wikinews|wikiversity|wikimediafoundation|mediawiki)\.org/', $url ) ) {
139139 if ( $this->hasOption( 'protocolrelative' ) ) {
140140 if ( substr( $url, 0, 5 ) == 'http:' ) {
141141 $url = substr( $url, 5 );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98242(bug 22407) Make [[mw:]] et al localcatrope20:04, 27 September 2011

Status & tagging log