dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
767971e
)
When reading from meta's interwiki map, *.wikimedia.org should be set as local (e...
author
Rowan Collins
<imsop@users.mediawiki.org>
Sat, 21 Jan 2006 13:25:41 +0000
(13:25 +0000)
committer
Rowan Collins
<imsop@users.mediawiki.org>
Sat, 21 Jan 2006 13:25:41 +0000
(13:25 +0000)
maintenance/dumpInterwiki.inc
patch
|
blob
|
history
diff --git
a/maintenance/dumpInterwiki.inc
b/maintenance/dumpInterwiki.inc
index
5e54bea
..
3cca1e0
100644
(file)
--- a/
maintenance/dumpInterwiki.inc
+++ b/
maintenance/dumpInterwiki.inc
@@
-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;