Fix the cache timestamp for forced updates.
authordaniel <dkinzler@wikimedia.org>
Sat, 24 Nov 2018 15:59:58 +0000 (16:59 +0100)
committerdaniel <dkinzler@wikimedia.org>
Wed, 19 Dec 2018 17:38:10 +0000 (18:38 +0100)
commitbe2bde8705e73a881ba034f2185cfd6da25b34a3
treea6c12cc3011deb2dac31628242bf188b6fd23100
parent6228415557b1206dce035c9a2751378d120e34e7
Fix the cache timestamp for forced updates.

Without this patch, the forcelinksupdate parameter of ApiPurge
was inoperational, caused by the fact that RefreshLinksJob got
the original revision's timestamp in the rootJobTimestamp parameter,
instead of the time at which the new ParserOutput was created.

See <https://phabricator.wikimedia.org/T210307#4771586> for details.

Bug: T210307
Change-Id: I281d6d0ed112b35e160775e528d363ce4770990a
includes/Storage/DerivedPageDataUpdater.php
tests/phpunit/includes/Storage/DerivedPageDataUpdaterTest.php
tests/phpunit/includes/Storage/PageUpdaterTest.php