https://bugzilla.wikimedia.org/show_bug.cgi?id=40648

--- Comment #2 from [email protected] 2012-11-08 01:17:47 UTC ---
Yes, TitleBlacklist is another one.  This bug affects our A/B test of Account
Creation with client-side validation: users may receive username errors when
they submit, despite an earlier green checkmark implying username is OK (bug
41849).

I tried to work around the problem by running AbortNewAccount myself when
validating username. But many other extensions hook into AbortNewAccount,
including ConfirmEdit which fails because the (non-existent) CAPTCHA in the
request doesn't match.  The next hack would be to invoke particular extensions'
AbortNewAccount handlers myself, but that's about 150 lines of code.

Yes, if each extension had its own API I could invoke the APIs I know about. 
It's better for extensions to hook into a CheckValidUsername hook.  And for
inter-dependent fields in account creation, we need an AboutToCreateAccount
function that lets each extension consider multiple fields in the form much
like AbortNewAccount and return error information, but which doesn't actually
create the account.

tl;dr: Lots to do to fix this properly.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to