Forward-port image manipulation disabling hack from wmf-deployment r53386.
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 11 Sep 2009 23:36:28 +0000 (23:36 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 11 Sep 2009 23:36:28 +0000 (23:36 +0000)
commita6e268086bca9dee57673ab38e7700915b6a811b
treebce0ad858e8693ad696a830ce702ec108ce70f2a
parent9955aa3d8629a4b834b13f56b37ff6343080c68d
Forward-port image manipulation disabling hack from wmf-deployment r53386.
Turning on $wgUploadMaintenance will disable deletion and undeletion of images; useful when performing maintenance on file servers to ensure that nobody's messing with your data while you work.
Note that $wgEnableUploads really should be disabled too or it'll be a bit silly. ;)
Could use localization and other polishing.
includes/DefaultSettings.php
includes/ImagePage.php
includes/specials/SpecialUndelete.php