* (bug 17048) Show the 'new' flag in list=usercontribs for the revision that created the
page, even if it's not the top revision
* (bug 17069) Added ucshow=patrolled|!patrolled to list=usercontribs
+* action=delete respects $wgDeleteRevisionsLimit and the bigdelete user right
=== Languages updated in 1.15 ===
'noemail' => array('code' => 'noemail', 'info' => "The user has not specified a valid e-mail address, or has chosen not to receive e-mail from other users"),
'rcpatroldisabled' => array('code' => 'patroldisabled', 'info' => "Patrolling is disabled on this wiki"),
'markedaspatrollederror-noautopatrol' => array('code' => 'noautopatrol', 'info' => "You don't have permission to patrol your own changes"),
+ 'delete-toobig' => array('code' => 'bigdelete', 'info' => "You can't delete this page because it has more than \$1 revisions"),
// API-specific messages
'missingparam' => array('code' => 'no$1', 'info' => "The \$1 parameter must be set"),
$this->dieUsageMsg(current($retval));
} else {
$articleObj = new Article($titleObj);
+ $bigHistory = $articleObj->isBigDeletion();
+ if( $bigHistory && !$wgUser->isAllowed( 'bigdelete' ) ) {
+ global $wgDeleteRevisionsLimit;
+ $this->dieUsageMsg(array('delete-toobig', $wgDeleteRevisionsLimit));
+ }
$retval = self::delete($articleObj, $params['token'], $reason);
if(count($retval))