Last modified: 2013-03-13 10:51:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 26911 - cli install doesn't ask for a password if not provided
cli install doesn't ask for a password if not provided
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Mark A. Hershberger
Depends on:
Blocks: 10542
  Show dependency treegraph
Reported: 2011-01-24 21:27 UTC by Platonides
Modified: 2013-03-13 10:51 UTC (History)
5 users (show)

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


Description Platonides 2011-01-24 21:27:12 UTC
php maintenance/install.php --help

"--pass: The password for the wiki administrator. You will be
        prompted for this if it isn't provided"

Expected: It asks for a password if not provided

What happens: It tries to use an empty password, then fail because it's too short.
Comment 1 Mark A. Hershberger 2011-01-25 21:09:25 UTC
I should fix this.  Now, should it prompt or should it continue as is and not say that it will prompt.
Comment 2 Platonides 2011-01-26 00:34:07 UTC
I'd try to implement the prompt, as it's a nice idea, but if it turns out to be too much work, just make the parameter required and change the description.
Comment 3 Mark A. Hershberger 2012-06-22 22:07:53 UTC
It fails now, but the message is unhelpful: Internal error when setting a password for the admin "none": Passwords must be at least 1 character.

Change Ibea29858 should fix this.
Comment 4 Amgine 2012-06-22 22:27:30 UTC
Bug 36069 is related to this issue.
Comment 5 Tim Landscheidt 2012-09-26 18:51:28 UTC
If I'm not mistaken, this is now fixed with: "Param pass required!"  Please re-open otherwise.

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