Make LocalFile check early if the revision store is available
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 22 Feb 2018 08:48:42 +0000 (00:48 -0800)
committerChad <chadh@wikimedia.org>
Thu, 22 Feb 2018 22:07:30 +0000 (22:07 +0000)
commitd9ba7cd0050d531c4f016fda285793568fa133c7
treec079d55b1e1d6fdc4a43186fe8964d76ea0aba8a
parentf075c9eb8229876b9d6d329d68359e3984d1fedc
Make LocalFile check early if the revision store is available

This reduces the odds of having files without corresponding
wiki pages, given that the later is done in a deferred update.

Also made some documentation cleanups.

Bug: T187942
Change-Id: Iff516669f535713d37e0011e2d7ed285c667f1c5
includes/Storage/BlobStore.php
includes/Storage/RevisionStore.php
includes/Storage/SqlBlobStore.php
includes/externalstore/ExternalStore.php
includes/externalstore/ExternalStoreMedium.php
includes/filerepo/file/LocalFile.php