Revert "[MCR] Turn Revision into a proxy to new code."
authorDaniel Kinzler <daniel.kinzler@wikimedia.de>
Tue, 19 Dec 2017 10:42:34 +0000 (10:42 +0000)
committerAddshore <addshorewiki@gmail.com>
Tue, 19 Dec 2017 12:38:48 +0000 (12:38 +0000)
commit09bf4f5bb2eacbae1b9d54f19752d9ba999eae24
tree05589d19efaebfdba8b05566c985f9aee5f1862c
parent3d95da4952619f9f773298c4461ccfc646fb18a9
Revert "[MCR] Turn Revision into a proxy to new code."

This reverts commit 9dcc56b3c9e7a3212d0900ee23808b9402cad952.

With this patch applied, newly created revisions are sometimes not found
just after submitting an edit, until replicas have caught up.

Our best theory is that it somehow interfere with ChronologyProtector,
but we don't have a good idea how.

Also, as legoktm mentioned, the commit message is terrible and needs fixing.

Change-Id: Idf3404f3fa8f8d08a7fb2ab8268726e2c1edecfe
13 files changed:
RELEASE-NOTES-1.31
docs/hooks.txt
includes/Revision.php
includes/ServiceWiring.php
includes/actions/HistoryAction.php
includes/cache/MessageCache.php
includes/page/WikiPage.php
includes/parser/Parser.php
includes/resourceloader/ResourceLoaderWikiModule.php
includes/specials/SpecialNewpages.php
tests/phpunit/includes/MediaWikiServicesTest.php
tests/phpunit/includes/RevisionDbTestBase.php
tests/phpunit/includes/RevisionTest.php