* Marking edits as bot edits with Special:Contributions?bot=1 now requires the markbo...
authorAndrew Garrett <werdna@users.mediawiki.org>
Tue, 20 Nov 2007 07:11:39 +0000 (07:11 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Tue, 20 Nov 2007 07:11:39 +0000 (07:11 +0000)
RELEASE-NOTES
includes/DefaultSettings.php
includes/SpecialContributions.php

index c839013..c813cfa 100644 (file)
@@ -19,6 +19,9 @@ Those wishing to use the latest code instead of a branch release can obtain
 it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 
 === Configuration changes in 1.12 ===
+* Marking edits as bot edits with Special:Contributions?bot=1 now requires the
+  markbotedit permission, rather than the rollback permission previously used.
+  This permission is assigned by default to the sysop group.
 
 === New features in 1.12 ===
 * (bug 10735) Add a warning for non-descriptive filenames at Special:Upload
index 63c93b6..c139964 100644 (file)
@@ -1094,6 +1094,7 @@ $wgGroupPermissions['sysop']['autoconfirmed']   = true;
 $wgGroupPermissions['sysop']['upload_by_url']   = true;
 $wgGroupPermissions['sysop']['ipblock-exempt'] = true;
 $wgGroupPermissions['sysop']['blockemail']      = true;
+$wgGroupPermissions['sysop']['markbotedits']   = true;
 
 // Permission to change users' group assignments
 $wgGroupPermissions['bureaucrat']['userrights'] = true;
index e85ec43..b4e9bbf 100644 (file)
@@ -265,7 +265,7 @@ function wfSpecialContributions( $par = null ) {
        } else {
                $options['namespace'] = '';
        }
-       if ( $wgUser->isAllowed( 'rollback' ) && $wgRequest->getBool( 'bot' ) ) {
+       if ( $wgUser->isAllowed( 'markbotedit' ) && $wgRequest->getBool( 'bot' ) ) {
                $options['bot'] = '1';
        }