$processed = $added = $ignored = $skipped = $overwritten = $failed = 0;
- $this->output( "Import Images\n\n" );
+ $this->output( "Importing Files\n\n" );
$dir = $this->getArg( 0 );
if ( $this->hasOption( 'dry' ) ) {
$this->output( "done.\n" );
+ // @phan-suppress-next-line PhanUndeclaredMethod
} elseif ( $image->recordUpload2(
$archive->value,
$summary,
# Protect the file
$this->output( "\nWaiting for replica DBs...\n" );
// Wait for replica DBs.
- sleep( 2.0 ); # Why this sleep?
+ sleep( 2 ); # Why this sleep?
wfWaitForSlaves();
$this->output( "\nSetting image restrictions ... " );