Fold RevertFileAction class into RevertAction
authorwithoutaname <drevitchi@gmail.com>
Thu, 10 Jul 2014 01:26:16 +0000 (18:26 -0700)
committerLegoktm <legoktm.wikipedia@gmail.com>
Sun, 13 Jul 2014 02:16:58 +0000 (02:16 +0000)
commit0367d94952c1e37e2cbbdfe9d0542330967df8fd
tree4c53b6342d601dac0abd472bee20b9ddff7234b7
parent1c1e321af7977722073116fb6846f494502f6805
Fold RevertFileAction class into RevertAction

RevertAction was simply a dummy class for outputting an error message
if the action was not done in the file namespace. I've instead
moved RevertFileAction to RevertAction and threw an exception
from within checkCanExecute().

Change-Id: I7b87de60680009bf4e74d33342cbe81cc0d211b5
RELEASE-NOTES-1.24
includes/AutoLoader.php
includes/actions/RevertAction.php
includes/page/WikiFilePage.php