Last modified: 2009-04-03 14:10:40 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 T20222, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18222 - $wgMinimalPasswordLength's default should be 1
$wgMinimalPasswordLength's default should be 1
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-28 08:38 UTC by MZMcBride
Modified: 2009-04-03 14:10 UTC (History)
3 users (show)

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


Attachments

Description MZMcBride 2009-03-28 08:38:51 UTC
Empty passwords make absolutely no sense (and are disallowed on WMF wikis). There's no reason I can see to allow them by default in MediaWiki core.

For reference, $wgMinimalPasswordLength was added in r7317 following bug 621.
Comment 1 Chad H. 2009-03-28 16:43:13 UTC
Done in r48968
Comment 2 Dan Jacobson 2009-04-02 03:30:11 UTC
Regarding this message,

'passwordtooshort' => 'Your password is invalid or too short. It must
have at least {{PLURAL:$1|1 character|$1 characters}} ...

The user will say "But I DID enter at least 1 character!"

He will get so frustrated that he will not read to the end of the
message.

That is why you need to split this into two different responses
depending on what he violated.
Comment 3 Roan Kattouw 2009-04-02 10:35:15 UTC
(In reply to comment #2)
> Regarding this message,
> 
> 'passwordtooshort' => 'Your password is invalid or too short. It must
> have at least {{PLURAL:$1|1 character|$1 characters}} ...
> 
... "and must be different from the username" (to save others the trouble of looking up [[MediaWiki:passwordtooshort]])
Comment 4 Chad H. 2009-04-03 14:10:40 UTC
(In reply to comment #2)
> Regarding this message,
> 
> 'passwordtooshort' => 'Your password is invalid or too short. It must
> have at least {{PLURAL:$1|1 character|$1 characters}} ...
> 
> The user will say "But I DID enter at least 1 character!"
> 
> He will get so frustrated that he will not read to the end of the
> message.
> 
> That is why you need to split this into two different responses
> depending on what he violated.
> 

I highly doubt anyone gets so frustrated that they refuse to read 7 more words. Stop exaggerating. Reclosing as FIXED.

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


Navigation
Links