[FileRepo]
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 14 Mar 2012 21:30:26 +0000 (21:30 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 14 Mar 2012 21:30:26 +0000 (21:30 +0000)
commit9b02dc95fac4690f4edb742b649d0a26fa0728e6
tree01931b3cc10b4cbecd81d8aaff4033e4308e02ca
parent07abfc6f5214d8fd137f5200c83f64603e010cd4
[FileRepo]
* Added getReadOnlyReason() function to FileRepo to check read-only status. Added such checks to the File object functions that mutate files in storage. This should make read-only mode more tolerable (which is needed at least briefly when switching backends).
* Added lock()/unlock() calls to File restore() function.
* Use proper isOK() accessor for Status objects.
includes/filerepo/FileRepo.php
includes/filerepo/file/LocalFile.php
languages/messages/MessagesEn.php
maintenance/language/messages.inc