[MCR] RevisionStore::getTitle final logged fallback to master
authoraddshore <addshorewiki@gmail.com>
Wed, 10 Jan 2018 16:05:46 +0000 (16:05 +0000)
committerAddshore <addshorewiki@gmail.com>
Mon, 29 Jan 2018 13:44:54 +0000 (13:44 +0000)
commit9a509a1792f1ac5c8aa3e16878c616b3be00110e
treef5c7cdc92b621d2b3b0607b8b1c9e8229429941a
parentfda41c7ca547226724d590c0e929b870a6eb7bd8
[MCR] RevisionStore::getTitle final logged fallback to master

There have been many issues with RevisionStore and titles due
to code paths that already know the title for a Revision not
passing the title into Revision in various ways or not passing
in the correct queryFlags.
The getTitle method now has a further fallback using Title::newFromID
and Title::GAID_FOR_UPDATE if not already attempted.

Bug: T183548
Bug: T183716
Bug: T183717
Bug: T183550
Bug: T183505
Bug: T184559
Bug: T184595
Change-Id: I6cf13e6baba354b08533a6151bbbc88a317be9d6
includes/ServiceWiring.php
includes/Storage/RevisionStore.php
tests/phpunit/includes/Storage/RevisionStoreTest.php