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

            Bug ID: 72387
           Summary: "createaccount" action failure should return the name
                    of the extension that caused it to fail.
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

In our Android app, we allow the user to create an account, and if the API
rejects the account creation request, we would like to tell the user exactly
why it was rejected.

When the createaccount action fails because of an extension, we get back a
"code" of "createaccount-hook-aborted", which is not specific enough for us to
understand what the exact error is.

We do see the "info" text, which is HTML, but we don't want to display it as-is
inside the app, for various reasons (e.g. localization).

Ideally the API should tell us which extension was responsible for rejecting
the request, so that we may decide how to present the corresponding error to
the user.

-- 
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