Page MenuHomePhabricator

Expose wpIgnoreAntiSpoof option on API properly
Closed, ResolvedPublic

Description

Currently, there is a checkbox called wpIgnoreAntiSpoof on the user interface which allows those with the override-antispoof right to turn off antispoof for an account creation.

This checkbox is not exposed in the API directly, although it can still be used by defining wpIgnoreAntiSpoof as one of the POST parameters to the API createaccount call. Doing this generates an API warning stating the parameter is unrecognised, but the request still succeeds where it would normally fail.

This does not feel like a reliable method of using this functionality, as it is undocumented and likely accidental. This functionality should be exposed to the API as a documented parameter.


Version: unspecified
Severity: normal

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:35 AM
bzimport added a project: AntiSpoof.
bzimport set Reference to bz54899.
bzimport added a subscriber: Unknown Object (MLST).

Change 181945 had a related patch set uploaded (by FunPika):
Add ignoreantispoof parameter to API

https://gerrit.wikimedia.org/r/181945

Patch-For-Review

Change 181945 merged by jenkins-bot:
Add ignoreantispoof parameter to createaccount API

https://gerrit.wikimedia.org/r/181945

Krenair subscribed.

Looks done