Title::newFromText( 'Baz' ),
[ [
'Baz',
- '[[:Template:TestingTemplate]] and [[Special:WhatLinksHere/Template:TestingTemplate|2 pages]] '
- . 'added to category'
+ '[[:Template:TestingTemplate]] added to category, ' .
+ '[[Special:WhatLinksHere/Template:TestingTemplate|this page is included within other pages]]'
] ]
);
}
) {
$update = new LinksUpdate( $title, $parserOutput );
- // NOTE: make sure LinksUpdate does not generate warnings when called inside a transaction.
- $update->beginTransaction();
$update->doUpdate();
- $update->commitTransaction();
$this->assertSelect( $table, $fields, $condition, $expectedRows );
return $update;