Last modified: 2011-04-30 01:20:37 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T29692, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27692 - createAndPromote.php always creates bureaucrats
createAndPromote.php always creates bureaucrats
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.15.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-24 20:28 UTC by Erik Schnetter
Modified: 2011-04-30 01:20 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Erik Schnetter 2011-02-24 20:28:22 UTC
The script createAndPromote.php always creates bureaucrats, even when the option --bureaucrat is not specified. This is probably due to a typo in the if statement 

if( isset( $option['bureaucrat'] ) )

which should instead check $options (missing "s").
Comment 1 Chad H. 2011-02-24 21:01:02 UTC
The 1.15 branch isn't really supported anymore. I would suggest upgrading to 1.16.x

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links