*(apologies for cross-posting)*
Hello,
This is a significant change announcement relevant for some Wikibase API users.
What's Changing?
Over the coming weeks, most Wikibase API modules will gain three new parameters: returnto, returntoquery, and returntoanchor. Additionally, these API modules may return tempusercreated and tempuserredirect fields in their responses. These parameters are being added to support user interaction flows related to IP Masking https://meta.wikimedia.org/wiki/IP_Editing:_Privacy_Enhancement_and_Abuse_Mitigation .
Who’s Affected?
Only users who use the API to make anonymous edits are affected. If you don’t use the API to make edits, or if you only make authenticated edits, you can safely ignore these changes, and disregard the additional API parameters and response data.
What You Need to Do
If you use the API to make anonymous edits, the response may contain a tempusercreated string indicating the name of the temporary account that was created, and a tempuserredirect nullable string. If the tempuserredirect is not null, you should redirect the user to that URL to complete the setup for the temporary account. Afterwards, the user will automatically be returned to the current wiki; you can use the returnto, returntoquery, and/or returntoanchor parameters in your original API request to control the title, query, and anchor where the redirect returns to.
If you have any questions or concerns about this change, please don’t hesitate to reach out to us in this ticket (T357024 https://phabricator.wikimedia.org/T357024).
Cheers,
wikidata-tech@lists.wikimedia.org