Index: trunk/extensions/WikimediaMaintenance/rebuildInterwiki.php |
— | — | @@ -142,7 +142,7 @@ |
143 | 143 | if ( preg_match( '/^\|\s*(.*?)\s*\|\|\s*(https?:\/\/.*?)\s*$/', $line, $matches ) ) { |
144 | 144 | $prefix = strtolower( $matches[1] ); |
145 | 145 | $url = $matches[2]; |
146 | | - if ( preg_match( '/(wikipedia|wiktionary|wikisource|wikiquote|wikibooks|wikimedia)\.org/', $url ) ) { |
| 146 | + if ( preg_match( '/(wikipedia|wiktionary|wikisource|wikiquote|wikibooks|wikimedia|wikinews|wikiversity|wikimediafoundation|mediawiki)\.org/', $url ) ) { |
147 | 147 | $local = 1; |
148 | 148 | } else { |
149 | 149 | $local = 0; |