18 parent::__construct(
null,
$rows );
22 return count( $this->result );
26 if ( $this->pos < count( $this->result ) ) {
29 $this->currentRow =
false;
32 if ( is_object( $this->currentRow ) ) {
33 return get_object_vars( $this->currentRow );
48 if ( $this->currentRow ) {
57 $this->currentRow =
null;
65class_alias( FakeResultWrapper::class,
'FakeResultWrapper' );
do that in ParserLimitReportFormat instead use this to modify the parameters of the image all existing parser cache entries will be invalid To avoid you ll need to handle that somehow(e.g. with the RejectParserCacheValue hook) because MediaWiki won 't do it for you. & $defaults also a ContextSource after deleting those rows but within the same transaction $rows