r65166 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65165‎ | r65166 | r65167 >
Date:17:09, 17 April 2010
Author:mah
Status:ok
Tags:
Comment:
eol ws cleanup
Modified paths:
  • /trunk/phase3/includes/specials/SpecialUserrights.php (modified) (history)
  • /trunk/phase3/maintenance/runJobs.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/runJobs.php
@@ -34,7 +34,7 @@
3535 $this->addOption( 'type', 'Type of job to run', false, true );
3636 $this->addOption( 'procs', 'Number of processes to use', false, true );
3737 }
38 -
 38+
3939 public function memoryLimit() {
4040 // Don't eat all memory on the machine if we get a bad job.
4141 return "150M";
@@ -67,10 +67,10 @@
6868 $job = ($type == false) ?
6969 Job::pop($offset)
7070 : Job::pop_type($type);
71 -
 71+
7272 if ($job == false)
7373 break;
74 -
 74+
7575 wfWaitForSlaves( 5 );
7676 $t = microtime( true );
7777 $offset=$job->id;
Index: trunk/phase3/includes/specials/SpecialUserrights.php
@@ -164,7 +164,7 @@
165165 $removegroup[] = $group;
166166 }
167167 }
168 -
 168+
169169 $this->doSaveUserGroups( $user, $addgroup, $removegroup, $reason );
170170 }
171171
@@ -282,7 +282,7 @@
283283 $database = '';
284284 } else {
285285 list( $name, $database ) = array_map( 'trim', $parts );
286 -
 286+
287287 if( $database == wfWikiID() ) {
288288 $database = '';
289289 } else {
@@ -526,7 +526,7 @@
527527 $attr = $checkbox['disabled'] ? array( 'disabled' => 'disabled' ) : array();
528528
529529 if ( $checkbox['irreversible'] ) {
530 - $text = htmlspecialchars( wfMsg( 'userrights-irreversible-marker',
 530+ $text = htmlspecialchars( wfMsg( 'userrights-irreversible-marker',
531531 User::getGroupMember( $group ) ) );
532532 } else {
533533 $text = htmlspecialchars( User::getGroupMember( $group ) );

Status & tagging log