Reuse DerivedPageDataUpdater during null-edits.
authordaniel <dkinzler@wikimedia.org>
Thu, 15 Nov 2018 14:49:23 +0000 (15:49 +0100)
committerdaniel <dkinzler@wikimedia.org>
Fri, 16 Nov 2018 17:58:54 +0000 (18:58 +0100)
commitb8e58c039aa8dd8f2501fe6e704cf0d42715d747
treeb9f4b6876f0da7831c6a3f2dedc1403ad8482e6e
parent38dfb025e5c95f450c55de36f4e5dbaf8800e3b4
Reuse DerivedPageDataUpdater during null-edits.

Checking the acting user against the revision's author in
DerivedPageDataUpdater::isReusableFor would lead to false
negatives.

Also removes a check of the current acting user against the
cached revision's author, for the same reason: for null edits,
the acting user and the revision author are unrelated.

Bug: T205369
Change-Id: I48f59dce6c25062b3d6ff4248e1171269766c507
includes/Storage/DerivedPageDataUpdater.php
tests/phpunit/includes/Storage/DerivedPageDataUpdaterTest.php