Move callers away from Title::GAID_FOR_UPDATE
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 4 Jul 2019 21:24:34 +0000 (14:24 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 9 Sep 2019 20:19:08 +0000 (13:19 -0700)
commita5c7fd0db2d962834127ec2362d0dfe8ef6852d5
treea5a3ec5db0de21f2514579f43ae5b7cc01eb4f44
parentca3083c61e413c76e28bdfe59b236d3e818284d2
Move callers away from Title::GAID_FOR_UPDATE

These callers just need to load some data from DB_MASTER.
Subsequent code needing that latest title data should also use the
required flags, rather than relying on flakey global cache state.

Change-Id: I53248ea4b5bf1cd953f956c41b8244831ec5ef04
13 files changed:
includes/MovePage.php
includes/Revision.php
includes/Revision/RevisionStore.php
includes/api/ApiSetNotificationTimestamp.php
includes/cache/LinkCache.php
includes/deferred/LinksUpdate.php
includes/jobqueue/jobs/RefreshLinksJob.php
includes/page/WikiPage.php
includes/user/User.php
maintenance/cleanupTitles.php
tests/phpunit/includes/TitleTest.php
tests/phpunit/includes/api/ApiDeleteTest.php
tests/phpunit/includes/api/ApiRevisionDeleteTest.php