}
public function execute() {
- $dbr = $this->getDB( DB_SLAVE );
+ $dbr = $this->getDB( DB_REPLICA );
$result = $dbr->select( [ 'pagelinks', 'page' ],
[
'page_id',
}
}
-$maintClass = "DumpLinks";
+$maintClass = DumpLinks::class;
require_once RUN_MAINTENANCE_IF_MAIN;