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