r98247 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98246‎ | r98247 | r98248 >
Date:20:11, 27 September 2011
Author:catrope
Status:ok
Tags:
Comment:
1.18wmf1: MFT r98246
Modified paths:
  • /branches/wmf/1.18wmf1/maintenance/rebuildInterwiki.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/maintenance/rebuildInterwiki.php
@@ -128,7 +128,7 @@
129129 if ( preg_match( '/^\|\s*(.*?)\s*\|\|\s*(https?:\/\/.*?)\s*$/', $line, $matches ) ) {
130130 $prefix = strtolower( $matches[1] );
131131 $url = $matches[2];
132 - if ( preg_match( '/(wikipedia|wiktionary|wikisource|wikiquote|wikibooks|wikimedia)\.org/', $url ) ) {
 132+ if ( preg_match( '/(wikipedia|wiktionary|wikisource|wikiquote|wikibooks|wikimedia|wikinews|wikiversity|wikimediafoundation|mediawiki)\.org/', $url ) ) {
133133 $local = 1;
134134 } else {
135135 $local = 0;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98246Apply r98242 to rebuildInterwiki.php too. Rawr code duplicationcatrope20:09, 27 September 2011

Status & tagging log