Page MenuHomePhabricator

Add api pass through to allow ignoretitleblacklist for account creation
Closed, ResolvedPublic

Description

The TitleBlacklist extension adds a check box to the account creation page for privileged users to 'Ignore the blacklist'.

There needs to be a similar option exposed in the api to create accounts ignoring the blacklist.

OIT uses a script for new account creation for new staff that has been broken since TitleBlacklist was enabled, requiring manual account creations.
https://github.com/WikimediaOIT/mediawiki-accountrobot

Reedy suggest this will probably be a simple fix very similar in structure to this:
https://github.com/wikimedia/mediawiki-extensions-AntiSpoof/blob/aac11a63e3ec7e0f438f483cb0286370550a4ff7/AntiSpoofHooks.php#L145-L181

Cheers,

Joel Krauska

Event Timeline

JKrauska raised the priority of this task from to Needs Triage.
JKrauska updated the task description. (Show Details)
JKrauska added subscribers: JKrauska, JCabanero.

Change 232397 had a related patch set uploaded (by Alex Monk):
Add ignoretitleblacklist to account creation API

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

Change 232397 merged by jenkins-bot:
Add ignoretitleblacklist to account creation API

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

That should make the parameter be properly exposed in the API (under another name). Wikimedia wikis are expected to update to the version including this patch as part of 1.27.0-wmf.4, schedule is at https://www.mediawiki.org/wiki/MediaWiki_1.27/Roadmap