r98248 MediaWiki - Code Review archive

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

Diff [purge]

Index: branches/wmf/1.17wmf1/maintenance/rebuildInterwiki.php
@@ -130,7 +130,7 @@
131131 if ( preg_match( '/^\|\s*(.*?)\s*\|\|\s*(https?:\/\/.*?)\s*$/', $line, $matches ) ) {
132132 $prefix = strtolower( $matches[1] );
133133 $url = $matches[2];
134 - if ( preg_match( '/(wikipedia|wiktionary|wikisource|wikiquote|wikibooks|wikimedia)\.org/', $url ) ) {
 134+ if ( preg_match( '/(wikipedia|wiktionary|wikisource|wikiquote|wikibooks|wikimedia|wikinews|wikiversity|wikimediafoundation|mediawiki)\.org/', $url ) ) {
135135 $local = 1;
136136 } else {
137137 $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