Last modified: 2010-05-15 14:36:10 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 2943 - Add AuthPlugin::getCanonicalName method
Add AuthPlugin::getCanonicalName method
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-reviewed
Depends on:
  Show dependency treegraph
Reported: 2005-07-23 21:08 UTC by Rob Lanphier (RobLa)
Modified: 2010-05-15 14:36 UTC (History)
0 users

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

Patch described in bug 2943 (1.32 KB, patch)
2005-07-23 21:09 UTC, Rob Lanphier (RobLa)

Description Rob Lanphier (RobLa) 2005-07-23 21:08:07 UTC
Problem:  auth plugins don't have the ability to provide canonical form for user
name (primary proper case) before a new account is created.

This patch adds a new method AuthPlugin::getCanonicalName($username), which gets
called from
User::newFromName.  That'll gives any AuthPlugin extension a crack at munging
the name just before an account is created.

Will attach patch after submitting.
Comment 1 Rob Lanphier (RobLa) 2005-07-23 21:09:04 UTC
Created attachment 739 [details]
Patch described in bug 2943
Comment 2 Brion Vibber 2005-07-24 09:49:51 UTC
Applied to HEAD.

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