Last modified: 2009-07-27 23:53:31 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 9691 - Add type parameter to ModifyUITemplate function calls
Add type parameter to ModifyUITemplate function calls
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy, patch, patch-need-review
Depends on:
  Show dependency treegraph
Reported: 2007-04-25 13:43 UTC by Christian Neubauer
Modified: 2009-07-27 23:53 UTC (History)
1 user (show)

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

Fix against 11.0 release (1.01 KB, patch)
2007-10-05 14:40 UTC, Christian Neubauer

Description Christian Neubauer 2007-04-25 13:43:08 UTC
I would like my authentication hook to be able to modify the UI differently
depending on whether the user is trying to log in or create a new account.  To
do this, I added a parameter to the abstract function
AuthPlugin::modifyUITemplate() for the login type.  In SpecialUserlogin.php
around line 687 I added $this->mType as the second parameter in the
modifyUITemplate call.  I think this would be useful for others modifying the UI
as well and would be useful if added to the code base.
Comment 1 Christian Neubauer 2007-10-05 14:40:39 UTC
Created attachment 4218 [details]
Fix against 11.0 release

As described above, adds type parameter to abstract function AuthPlugin->modifyUITemplate and passes parameter to the call to modifyUITemplate in SpecialUserlogin.php
Comment 2 Chad H. 2009-07-27 23:53:31 UTC
Applied in r53843

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