[MCR] Introduce BlobStoreFactory
authoraddshore <addshorewiki@gmail.com>
Sat, 23 Dec 2017 17:14:28 +0000 (17:14 +0000)
committeraddshore <addshorewiki@gmail.com>
Sun, 24 Dec 2017 23:22:30 +0000 (23:22 +0000)
commite51f95dea3df42b95c0e7e3e5e336dff64eb1d3e
tree3bea9ae95016bc7fa560f0da696fc8e07fc0ce84
parent47da9e78f5a80fde77c446d6bade2ed08746601c
[MCR] Introduce BlobStoreFactory

This allows Revision::getRevisionText to get
a different BlobStore instance when $wiki is passed in
restoring the behaviour for $wiki before the MCR Revision
overhaul patch was merged.
Ia4c20a91e98df0b9b14b138eb4825c55e5200384

Bug: T183634
Bug: T183631
bug: T183583
Change-Id: Ib0949454e9a003c2965adc1aab38e31fcf121afe
autoload.php
includes/MediaWikiServices.php
includes/Revision.php
includes/ServiceWiring.php
includes/Storage/BlobStoreFactory.php [new file with mode: 0644]
includes/Storage/SqlBlobStore.php
tests/phpunit/includes/MediaWikiServicesTest.php
tests/phpunit/includes/RevisionTest.php
tests/phpunit/includes/Storage/BlobStoreFactoryTest.php [new file with mode: 0644]