When reading from meta's interwiki map, *.wikimedia.org should be set as local (e...
authorRowan Collins <imsop@users.mediawiki.org>
Sat, 21 Jan 2006 13:25:41 +0000 (13:25 +0000)
committerRowan Collins <imsop@users.mediawiki.org>
Sat, 21 Jan 2006 13:25:41 +0000 (13:25 +0000)
maintenance/dumpInterwiki.inc

index 5e54bea..3cca1e0 100644 (file)
@@ -111,7 +111,7 @@ function getRebuildInterwikiDump() {
                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;