From 7de9ce3a00b6b90ae43778a68f68de14fd6364e2 Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Tue, 20 Nov 2007 07:11:39 +0000 Subject: [PATCH] * 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. --- RELEASE-NOTES | 3 +++ includes/DefaultSettings.php | 1 + includes/SpecialContributions.php | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index c839013de3..c813cfa1b2 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 63c93b6107..c13996487d 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -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; diff --git a/includes/SpecialContributions.php b/includes/SpecialContributions.php index e85ec43bfb..b4e9bbf784 100644 --- a/includes/SpecialContributions.php +++ b/includes/SpecialContributions.php @@ -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'; } -- 2.20.1