Join slot and content tables when dumping XML
authordaniel <dkinzler@wikimedia.org>
Sun, 19 May 2019 08:48:10 +0000 (10:48 +0200)
committerdaniel <dkinzler@wikimedia.org>
Thu, 27 Jun 2019 20:26:22 +0000 (22:26 +0200)
commitdd14601afbf1cae379dda770eda74b7a4f652d15
treebd5f76e0f8ca767f6a4de7b9f01438b10958d118
parentf92a1a6db3b659d9943ca66eacff99b5e4133c7b
Join slot and content tables when dumping XML

This introduces a way to construct a RevisionRecord based on a
known set of SlotRecords. To allow this to be used consistently
with the legacy revision schema, some tweaks had to be made
to getSlotsQueryInfo().

Bug: T220493
Change-Id: I5ea972bb07ca1cfb3a2ad8ef120aef77e460745c
includes/Revision/RevisionStore.php
includes/export/WikiExporter.php
includes/export/XmlDumpWriter.php
tests/phpunit/includes/Revision/McrReadNewRevisionStoreDbTest.php
tests/phpunit/includes/Revision/McrRevisionStoreDbTest.php
tests/phpunit/includes/Revision/McrWriteBothRevisionStoreDbTest.php
tests/phpunit/includes/Revision/NoContentModelRevisionStoreDbTest.php
tests/phpunit/includes/Revision/PreMcrRevisionStoreDbTest.php
tests/phpunit/includes/Revision/RevisionQueryInfoTest.php
tests/phpunit/includes/Revision/RevisionStoreDbTestBase.php