* Integrate $wgDeleteRevisionsLimit in Title::getUserPermissionsErrors() (only if...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 27 Dec 2011 15:29:44 +0000 (15:29 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 27 Dec 2011 15:29:44 +0000 (15:29 +0000)
commit4f68ae893915980542a87bfa44aff010df1f92d7
tree892b0a145e1a3bffb612fa41dade6580732b5650
parentf0faee8ae9c6d0b0982ddff4a6c7f56f4137ad6c
* Integrate $wgDeleteRevisionsLimit in Title::getUserPermissionsErrors() (only if doing expensive checks)
* Moved WikiPage::estimateRevisionCount() and WikiPage::isBigDeletion() to Title and marked those WikiPage methods as deprecated (only call in extensions removed in r107385)
* Show an error message when deleting a page to move another one in Special:MovePage and the deletion fails due to permissions errors (previously the form would simply show again)
* Cache the result of Title::estimateRevisionCount() since it's called two times when showing the deletion form and the user doesn't have 'bigdelete' right (one for the permissions check and the other when showing the number of revisions)
includes/Article.php
includes/Title.php
includes/WikiPage.php
includes/api/ApiDelete.php
includes/specials/SpecialMovepage.php