r61924 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61923‎ | r61924 | r61925 >
Date:12:32, 3 February 2010
Author:aaron
Status:ok
Tags:
Comment:
* Tweaked right-autoreview message
* Doc fixes
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)
  • /trunk/extensions/FlaggedRevs/language/FlaggedRevs.i18n.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -213,7 +213,7 @@
214214 'maxRevertedEdits' => 5, # Max edits the user could have had rolled back?
215215 );
216216
217 -# Define when users get to have their own edits auto-reviewed
 217+# Define when users get to have their own edits auto-reviewed.
218218 # This can be used for newer, semi-trusted users to improve workflow.
219219 $wgFlaggedRevsAutoconfirm = false;
220220 /* (example usage)
Index: trunk/extensions/FlaggedRevs/language/FlaggedRevs.i18n.php
@@ -184,7 +184,7 @@
185185 'revreview-visibility3' => '\'\'\'This page does not have a [[{{MediaWiki:Validationpage}}|published version]]; page stability settings can be [{{fullurl:{{#Special:Stabilization}}|page={{FULLPAGENAMEE}}}} configured].\'\'\'',
186186 'revreview-revnotfound' => 'The old revision of the page you asked for could not be found.
187187 Please check the URL you used to access this page.',
188 - 'right-autoreview' => 'Automatically mark revisions as checked',
 188+ 'right-autoreview' => 'Automatically mark revisions as "checked"',
189189 'right-movestable' => 'Move published pages',
190190 'right-review' => 'Mark revisions as being "checked"',
191191 'right-stablesettings' => 'Configure how the published version is selected and displayed',
Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
@@ -1170,7 +1170,7 @@
11711171 global $wgFlaggedRevsAutoconfirm, $wgMemc;
11721172 # Make sure bots always have autoreview
11731173 if ( $user->isAllowed( 'bot' ) ) {
1174 - $promote[] = 'autoreview';
 1174+ $promote[] = 'autoreview'; // add the group
11751175 return true;
11761176 }
11771177 # Check if $wgFlaggedRevsAutoconfirm is actually enabled
@@ -1273,8 +1273,7 @@
12741274 return true;
12751275 }
12761276 }
1277 - # Add the right
1278 - $promote[] = 'autoreview';
 1277+ $promote[] = 'autoreview'; // add the group
12791278 return true;
12801279 }
12811280

Status & tagging log