Page MenuHomePhabricator

Expose IP masking (temporary user creation) configuration in the API
Closed, ResolvedPublic

Description

As I was working on T335530, I realized that external tools have no way to tell whether logged-out users will get an auto-created account when editing or not. We should add it.

  • action=query&prop=info&intestactions=...:
    • Add &intestactionsautocreate=1 to also check whether the actions would result in a creation of a temporary user account.
  • action=query&meta=siteinfo:
    • Add &siprop=autocreatetempuser to output the configuration of temporary user accounts.

Event Timeline

Change 912951 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/core@master] Expose automatic temporary user creation configuration in the API

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

Change 912951 merged by jenkins-bot:

[mediawiki/core@master] Expose automatic temporary user info in the API

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

matmarex updated the task description. (Show Details)
matmarex added a project: Skipped QA.