$title = $verified;
}
if ( is_null( $title ) ) {
- $this->error( "Something awry; empty title.", true );
+ $this->fatalError( "Something awry; empty title." );
}
$ns = $title->getNamespace();
$dest = $title->getDBkey();
}
}
-$maintClass = "TitleCleanup";
+$maintClass = TitleCleanup::class;
require_once RUN_MAINTENANCE_IF_MAIN;