Make LinksUpdate no longer extend EnqueueableDataUpdate
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 12 Jul 2019 04:32:54 +0000 (21:32 -0700)
committerKrinkle <krinklemail@gmail.com>
Mon, 5 Aug 2019 17:10:33 +0000 (17:10 +0000)
commit29fcd02ef855d0d986f44a722d9b223e63532e0d
tree22f38769162c5816e759af4fad17eae67e4b4f99
parenta735b3f7c9839cb9983dde856cfd9020ce6ac676
Make LinksUpdate no longer extend EnqueueableDataUpdate

LinksUpdate does not match RefreshLinksJob since the former is only a subset
of the later. Also, DeferredUpdates::doUpdates() only runs in "enqueue" mode
for cases in MediaWiki::restInPeace() if there is no post-send support.

In a future commit, the deferred callback in which LinksUpdate runs
currently, will be abstracted into its own deferred update, which
will then bring back EnqueueableDataUpdate for this update.

Bug: T206283
Change-Id: I0680be445e8b8e8d0dba85df135b84640f4fcb81
includes/deferred/LinksUpdate.php