80 $this->
output =
function ( $text ) {
88 foreach ( $this->reader as
$rows ) {
90 foreach (
$rows as $row ) {
91 $update = $this->generator->update( $row );
94 'primaryKey' => $this->reader->extractPrimaryKeys( $row ),
101 $this->
output(
"Processing " . count( $updates ) .
" rows\n" );
102 $this->
writer->write( $updates );
106 $this->
output(
"Completed\n" );
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
setOutput(callable $output)
Accepts a callable which will receive a single parameter containing string status updates.
__construct(BatchRowIterator $reader, BatchRowWriter $writer, RowUpdateGenerator $generator)
execute()
Runs the batch update process.
output( $text)
Write out a status update.
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