includes/jobqueue/jobs/HTMLCacheUpdateJob.php
Method invalidateTitles
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function invalidateTitles( array $pages ) {
// Get all page IDs in this query into an array
$pageIds = array_keys( $pages );
if ( !$pageIds ) {
return;
Method run
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function run() {
$updateRowsPerJob = MediaWikiServices::getInstance()->getMainConfig()->get(
MainConfigNames::UpdateRowsPerJob );
$updateRowsPerQuery = MediaWikiServices::getInstance()->getMainConfig()->get(
MainConfigNames::UpdateRowsPerQuery );