On 28 May 2012 22:14, Steven Walling steven.walling@gmail.com wrote:
On Mon, May 28, 2012 at 12:39 PM, Daniel Friesen lists@nadir-seen-fire.comwrote:
- To have a combined form like that you have to create a brand new
special
page; you can't do that within our current Special:UserLogin
- We don't provide a way to simply override the special page used for
login links Hence with these two facts that means it's impossible to make an
alternate
login form without replacing stuff inside the personal_urls by using
hooks
and constructing your own arrays to put in the list. Wikia doesn't even bother with hooks, they just make core modifications for this stuff.
Just FYI, work is being done to decouple account creation from Special:UserLogin. The initial SignupAPI extension was a GSOC project, and it's currently undergoing code review etc. This should allow us to implement some long overdue improvements, such as: https://bugzilla.wikimedia.org/show_bug.cgi?id=34447
The relevant bug: https://bugzilla.wikimedia.org/show_bug.cgi?id=36225
This corner of MediaWiki is horrifically old and rusty; I tried a big refactoring a while ago but it broke CentralAuth and so got pulled a couple of times. I might have another go now we have labs up and running and we can easily set up a SUL domain to match the cluster's. SignupAPI basically copied mountains of code from LoginForm, IIRC; wasn't a real refactoring (could be mis-remembering though).
--HM