r57559 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57558‎ | r57559 | r57560 >
Date:13:01, 9 October 2009
Author:demon
Status:ok
Tags:
Comment:
Back out the bit of r57558 for allowing lowercased usernames. That needs more testing.
Modified paths:
  • /trunk/phase3/includes/User.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/User.php
@@ -521,7 +521,7 @@
522522 || User::isIP( $name )
523523 || strpos( $name, '/' ) !== false
524524 || strlen( $name ) > $wgMaxNameChars
525 - || $name != Title::capitalize( $name, NS_USER ) ) {
 525+ || $name != $wgContLang->ucfirst( $name ) ) {
526526 wfDebugLog( 'username', __METHOD__ .
527527 ": '$name' invalid due to empty, IP, slash, length, or lowercase" );
528528 return false;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57558(bug 13750) $wgCapitalLinks should be a per-namespace settingdemon12:52, 9 October 2009

Status & tagging log