dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Use interwiki cache directly to resolve transwiki import sources"
[lhc/web/wiklou.git]
/
maintenance
/
importDump.php
diff --git
a/maintenance/importDump.php
b/maintenance/importDump.php
index
ea8c84b
..
8cea5a2
100644
(file)
--- a/
maintenance/importDump.php
+++ b/
maintenance/importDump.php
@@
-119,7
+119,8
@@
TEXT;
private function getNsIndex( $namespace ) {
global $wgContLang;
private function getNsIndex( $namespace ) {
global $wgContLang;
- if ( ( $result = $wgContLang->getNsIndex( $namespace ) ) !== false ) {
+ $result = $wgContLang->getNsIndex( $namespace );
+ if ( $result !== false ) {
return $result;
}
$ns = intval( $namespace );
return $result;
}
$ns = intval( $namespace );
@@
-235,8
+236,6
@@
TEXT;
}
}
wfWaitForSlaves();
}
}
wfWaitForSlaves();
- // XXX: Don't let deferred jobs array get absurdly large (bug 24375)
- DeferredUpdates::doUpdates( 'commit' );
}
function progress( $string ) {
}
function progress( $string ) {