MediaWiki r27658 - Code Review

Jump to: navigation, search
Repository:MediaWiki
Revision:r27657‎ | r27658 (on ViewVC)‎ | r27659 >
Date:07:11, 20 November 2007
Author:werdna
Status:old
Tags:
Comment:
* 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.
Modified paths:

Diff [purge]

Index: trunk/phase3/includes/SpecialContributions.php
@@ -265,7 +265,7 @@
266266 } else {
267267 $options['namespace'] = '';
268268 }
269 - if ( $wgUser->isAllowed( 'rollback' ) && $wgRequest->getBool( 'bot' ) ) {
 269+ if ( $wgUser->isAllowed( 'markbotedit' ) && $wgRequest->getBool( 'bot' ) ) {
270270 $options['bot'] = '1';
271271 }
272272
Index: trunk/phase3/includes/DefaultSettings.php
@@ -1094,6 +1094,7 @@
10951095 $wgGroupPermissions['sysop']['upload_by_url'] = true;
10961096 $wgGroupPermissions['sysop']['ipblock-exempt'] = true;
10971097 $wgGroupPermissions['sysop']['blockemail'] = true;
 1098+$wgGroupPermissions['sysop']['markbotedits'] = true;
10981099
10991100 // Permission to change users' group assignments
11001101 $wgGroupPermissions['bureaucrat']['userrights'] = true;
Index: trunk/phase3/RELEASE-NOTES
@@ -19,6 +19,9 @@
2020 it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
2121
2222 === Configuration changes in 1.12 ===
 23+* Marking edits as bot edits with Special:Contributions?bot=1 now requires the
 24+ markbotedit permission, rather than the rollback permission previously used.
 25+ This permission is assigned by default to the sysop group.
2326
2427 === New features in 1.12 ===
2528 * (bug 10735) Add a warning for non-descriptive filenames at Special:Upload

Status & tagging log

  • 15:22, 12 September 2011 Meno25 (talk | contribs) changed the status of r27658 [removed: ok added: old]