r32803 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32802‎ | r32803 | r32804 >
Date:04:40, 5 April 2008
Author:aaron
Status:old
Tags:
Comment:
Casing, whitespace
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php
@@ -152,7 +152,7 @@
153153 'excludeDeleted' => true, # exclude deleted edits from total?
154154 'email' => true, # user must be emailconfirmed?
155155 'userpage' => true, # user must have a userpage?
156 - 'userpagebytes' => 100, # if userpage is needed, what is the min size?
 156+ 'userpageBytes' => 100, # if userpage is needed, what is the min size?
157157 'recentContent' => 5 # $wgContentNamespaces edits in recent changes
158158 );
159159
@@ -1629,7 +1629,7 @@
16301630 array( 'page_namespace' => $user->getUserPage()->getNamespace(),
16311631 'page_title' => $user->getUserPage()->getDBKey() ),
16321632 __METHOD__ );
1633 - if( $size < $wgFlaggedRevsAutopromote['userpagebytes'] ) {
 1633+ if( $size < $wgFlaggedRevsAutopromote['userpageBytes'] ) {
16341634 return true;
16351635 }
16361636 }
@@ -1724,7 +1724,7 @@
17251725 array_push( $newGroups, 'editor' );
17261726 # Lets NOT spam RC, set $RC to false
17271727 $log = new LogPage( 'rights', false );
1728 - $log->addEntry('rights', $user->getUserPage(), wfMsg('rights-editor-autosum'),
 1728+ $log->addEntry( 'rights', $user->getUserPage(), wfMsg('rights-editor-autosum'),
17291729 array( implode(', ',$groups), implode(', ',$newGroups) ) );
17301730 $user->addGroup('editor');
17311731

Status & tagging log