Fix error display on failing rollback
authordaniel <daniel.kinzler@wikimedia.de>
Mon, 27 Aug 2012 19:40:03 +0000 (21:40 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Mon, 27 Aug 2012 19:40:03 +0000 (21:40 +0200)
commit41842bc71b2eedc7cf665d34c227801b74637d71
treeacb88c91e990845714a487a6da09534d3b4c8c85
parent2fb3ee45b5d0dfda1c20fc6d85f9d687584f3bad
Fix error display on failing rollback

Rollback will now show the actual errors that caused it to fail,
instead of a misleading message about permissions.

Also, errores returned by WikiPage::doEditContent are now propagated
and shown.

Change-Id: I5a3f8cb7a0b881d07d52f63504dd3757192205a9
includes/WikiPage.php
includes/actions/RollbackAction.php