https://bugzilla.wikimedia.org/show_bug.cgi?id=60008
Web browser: ---
Bug ID: 60008
Summary: Special:UserLogin calls Status::newFatal incorrectly
on account creation, generates odd API error codes
Product: MediaWiki
Version: 1.23-git
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: User login and signup
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
Gerrit change 17952 changed Special:UserLogin to return a Status object from
the account creation function, passing it a RawMessage which breaks the
expectation of the API's dieStatus method that it can get a sane key from the
message object's getKey method.
But then Gerrit change 47821 broke things worse by changing Special:UserLogin
to pass a raw string rather than a Message object or message key as
Status::newFatal expects.
--
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