function handleRevision( $rev ) {
$title = $rev->getTitle();
if (!$title) {
+ $this->progress( "Got bogus revision with null title!" );
return;
}
$display = $title->getPrefixedText();
}
}
+if( wfReadOnly() ) {
+ wfDie( "Wiki is in read-only mode; you'll need to disable it for import to work.\n" );
+}
+
$reader = new BackupReader();
if( isset( $options['quiet'] ) ) {
$reader->reporting = false;