Last modified: 2013-03-13 10:51:22 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 T28911, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26911 - cli install doesn't ask for a password if not provided
cli install doesn't ask for a password if not provided
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.18.x
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: ---


Attachments

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.
https://gerrit.wikimedia.org/r/12697
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.


Navigation
Links