* Changed action=revert to use a subclass of Action
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 1 Jul 2011 20:07:21 +0000 (20:07 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 1 Jul 2011 20:07:21 +0000 (20:07 +0000)
commitcf6dd13faca23af5b6e3188445b84e05d620d499
tree33106539d3bdde0f190b856ce88aa81d59843bf1
parenta4e2af723f0b2e42f4081d6b9ebcc19222ebb8d7
* Changed action=revert to use a subclass of Action
* Added WikiPage::getActionOverrides() to be able to execute different actions depending on the namespace (obviously needed for action=revert). This is only used when the value of $wgActions for the corresponding action is true; so extension can still override this.
* Added Action::getDescription() to ease the change of the page header and the <title> element
includes/Action.php
includes/Article.php
includes/AutoLoader.php
includes/DefaultSettings.php
includes/FileRevertForm.php [deleted file]
includes/ImagePage.php
includes/Wiki.php
includes/WikiFilePage.php
includes/WikiPage.php
includes/actions/RevertAction.php [new file with mode: 0644]