From 44d31b681fc83aecc819a78662a5d75a4a8655b7 Mon Sep 17 00:00:00 2001 From: Rowan Collins Date: Sat, 21 Jan 2006 13:04:57 +0000 Subject: [PATCH] When reading from meta's interwiki map, *.wikimedia.org should be set as local (e.g. commons). --- maintenance/rebuildInterwiki.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/rebuildInterwiki.inc b/maintenance/rebuildInterwiki.inc index 501daea841..bbec3083dc 100644 --- a/maintenance/rebuildInterwiki.inc +++ b/maintenance/rebuildInterwiki.inc @@ -111,7 +111,7 @@ function getRebuildInterwikiSQL() { if ( preg_match( '/^\|\s*(.*?)\s*\|\|\s*(.*?)\s*$/', $line, $matches ) ) { $prefix = strtolower( $matches[1] ); $url = $matches[2]; - if ( preg_match( '/(wikipedia|wiktionary|wikisource|wikiquote|wikibooks)\.org/', $url ) ) { + if ( preg_match( '/(wikipedia|wiktionary|wikisource|wikiquote|wikibooks|wikimedia)\.org/', $url ) ) { $local = 1; } else { $local = 0; -- 2.20.1