require_once __DIR__ . '/Maintenance.php';
+use Wikimedia\Rdbms\IDatabase;
+
/**
* Maintenance script to run a database query in batches and wait for replica DBs.
*
* @ingroup Maintenance
*/
-class BatchedQueryRunner extends Maintenance {
+class RunBatchedQuery extends Maintenance {
public function __construct() {
parent::__construct();
$this->addDescription(
}
}
-$maintClass = "BatchedQueryRunner";
+$maintClass = RunBatchedQuery::class;
require_once RUN_MAINTENANCE_IF_MAIN;