42 $ids = array_map(
'intval', $this->ids );
43 $queryBuilder = MediaWikiServices::getInstance()->getRevisionStore()->newSelectQueryBuilder( $db )
46 ->where( [
'rev_page' => $this->page->getId(),
'rev_id' =>
$ids ] )
47 ->orderBy(
'rev_id', SelectQueryBuilder::SORT_DESC );
49 MediaWikiServices::getInstance()->getChangeTagsStore()->modifyDisplayQueryBuilder( $queryBuilder,
'revision' );
50 return $queryBuilder->caller( __METHOD__ )->fetchResultSet();
74 $status = Status::newGood();
78 null, $item->getId(),
null,
$params, $reason, $performer );
81 if ( !$status->isOK() ) {
array $params
The job parameters.
current()
Get the current list item, or false if we are at the end.
next()
Move the iteration pointer to the next list item, and return it.