On 9/27/05, prodos(a)prodos.com <prodos(a)prodos.com> wrote:
From: Prodos (Melbourne, Australia)
Good afternoon.
Here is how my colleague from
RentACoder.com - "PHPman" -
removed the requirement of an uppercase first letter for all usernames:
- - -
The file that needed to be editted was includes/SpecialUserLogin.php
On line 183, either comment out or delete this:
ucFirst($name) != $u->getName() but leave this: ")" as it is part of the
If statement the ucFirst function is in.
- - -
I hope that might be helpful for someone some day.
As Brion pointed out though, there is a REASON why user names in
mediawiki need to start with an uppercase letter. User names map to
Article names (the user's page and talk page for example), and other
parts of Mediawiki depend on this.
What this patch does is to eliminate a bit of input checking, not a
good thing if you don't understand why the input is being checked. At
best you are likely to end up with users whose user pages are
inaccessible, at worst who knows.
Caveat patch^h^h^h^h^hhacker
Rick DeNatale
Visit the Project Mercury Wiki Site
http://www.mercuryspacecraft.com/