* Use WikiPage instead of Article and call doDeleteArticle() with a custom error...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 3 Nov 2011 08:16:15 +0000 (08:16 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 3 Nov 2011 08:16:15 +0000 (08:16 +0000)
commitdc3e0ceeb7afba5492159eb33427cc2dc67a5c45
tree5703b884678e3f095b04b36e80acda52f3e6ae0f
parentc2ff182d5cdd816751106a9630ee1750ead63ca1
* Use WikiPage instead of Article and call doDeleteArticle() with a custom error message instead of calling doDelete()
* Call Title::getUserPermissionsErrors() instead of User::isAllowed() to know whether the user can delete the page
includes/specials/SpecialMovepage.php