'page_id > ' . $dbr->addQuotes( $lastPage )
],
__METHOD__,
- [ 'ORDER BY' => 'page_id', 'LIMIT' => $this->mBatchSize ]
+ [ 'ORDER BY' => 'page_id', 'LIMIT' => $this->getBatchSize() ]
);
foreach ( $rows as $row ) {
$this->handleRow( $row );
}
- } while ( $rows->numRows() >= $this->mBatchSize );
+ } while ( $rows->numRows() >= $this->getBatchSize() );
}
return true;
}
}
-$maintClass = 'FixDefaultJsonContentPages';
+$maintClass = FixDefaultJsonContentPages::class;
require_once RUN_MAINTENANCE_IF_MAIN;