Allow getRevisionText to function without the text table.
authordaniel <dkinzler@wikimedia.org>
Sun, 30 Sep 2018 21:34:59 +0000 (23:34 +0200)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 17 Oct 2018 14:54:39 +0000 (10:54 -0400)
commit7d8a9595438f037420a5eb9ee0db9aea988e6189
tree419e7bad5787a4cd03c4fe59c65effb337de4606
parentda272d7d27ade7aac3a3f1c287054884dda6db41
Allow getRevisionText to function without the text table.

Without this patch, getRevisionText would fail silently (by
returning false) when the text table no longer gets joined,
due to the switch to the new MCR schema.

Bug: T205808
Change-Id: Iffc25c82a5d2b865c28070c76156d39d390cc675
includes/Revision.php
tests/phpunit/includes/RevisionDbTestBase.php
tests/phpunit/includes/RevisionMcrDbTest.php
tests/phpunit/includes/RevisionMcrReadNewDbTest.php
tests/phpunit/includes/RevisionTest.php