X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FimportImages.php;h=ac700ef010be3b3b55057c0ba1faaa2a3a7ba524;hb=937e602c2c56f068272f635c5867d69f00f9ef49;hp=512c38cb32ac780cb531240d98a71229fc56dc15;hpb=866f16487349189de35db6cd2780e74cd6996999;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/importImages.php b/maintenance/importImages.php index 512c38cb32..ac700ef010 100644 --- a/maintenance/importImages.php +++ b/maintenance/importImages.php @@ -257,7 +257,7 @@ if ( $count > 0 ) { $archive = $image->publish( $file, $flags, $publishOptions ); if ( !$archive->isGood() ) { echo "failed. (" . - $archive->getWikiText() . + $archive->getWikiText( false, false, 'en' ) . ")\n"; $failed++; continue; @@ -297,8 +297,8 @@ if ( $count > 0 ) { if ( $doProtect ) { # Protect the file - echo "\nWaiting for slaves...\n"; - // Wait for slaves. + echo "\nWaiting for replica DBs...\n"; + // Wait for replica DBs. sleep( 2.0 ); # Why this sleep? wfWaitForSlaves();