Index: branches/wmf/1.18wmf1/maintenance/rebuildInterwiki.php |
— | — | @@ -128,7 +128,7 @@ |
129 | 129 | if ( preg_match( '/^\|\s*(.*?)\s*\|\|\s*(https?:\/\/.*?)\s*$/', $line, $matches ) ) { |
130 | 130 | $prefix = strtolower( $matches[1] ); |
131 | 131 | $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 ) ) { |
133 | 133 | $local = 1; |
134 | 134 | } else { |
135 | 135 | $local = 0; |