r88085 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r88084‎ | r88085 | r88086 >
Date:14:20, 14 May 2011
Author:catrope
Status:ok
Tags:
Comment:
Fix broken --sysop flag in r87480: it was triggering the bureaucrat right instead, and createAndPromote.php couldn't be used to create sysops at all
Modified paths:
  • /trunk/phase3/maintenance/createAndPromote.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/createAndPromote.php
@@ -61,7 +61,7 @@
6262
6363 # Promote user
6464 if ( $this->hasOption( 'sysop' ) ) {
65 - $user->addGroup( 'bureaucrat' );
 65+ $user->addGroup( 'sysop' );
6666 }
6767 if ( $this->hasOption( 'bureaucrat' ) ) {
6868 $user->addGroup( 'bureaucrat' );

Follow-up revisions

RevisionCommit summaryAuthorDate
r90258MFT r87586, r87840, r88085, r88118, r88124, r88492, r88498tstarling04:46, 17 June 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r87480(bug 23495) Allow createAndPromote.php to create non-sysop usersdemon05:11, 5 May 2011

Status & tagging log