RevisionStore: Introduce getContentBlobsForBatch
authordaniel <dkinzler@wikimedia.org>
Thu, 26 Sep 2019 12:23:40 +0000 (14:23 +0200)
committerPetr Pchelko <ppchelko@wikimedia.org>
Fri, 27 Sep 2019 18:15:06 +0000 (11:15 -0700)
commitb1867ec1daadf827c67220bbef3f9e091dddb3ad
treee23b04ec60846a70b480ce588f459b9d547137a8
parent3dbc58222c0270cedda17e5dfd397ffdf1d11ad9
RevisionStore: Introduce getContentBlobsForBatch

getContentBlobsForBatch provides a more low level interface than
newRevisionsFromBatch, allowing bulk access to serialized content
without the need to instantiate Title, RevisionRecord, RevisionSlots,
SlotRecord, and Content objects.

Bug: T228675
Bug: T234034
Change-Id: I8481ad211e2d9f11bc10ea10c16e78b74538d95b
includes/Revision/RevisionStore.php
tests/phpunit/includes/Revision/McrRevisionStoreDbTest.php
tests/phpunit/includes/Revision/RevisionQueryInfoTest.php
tests/phpunit/includes/Revision/RevisionStoreDbTestBase.php