Page MenuHomePhabricator

Special:CreateLocalAccount doesn't create accounts for other users due to IP blocks, even when I am a sysop
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

What should have happened instead?:

  • Account should be created.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

  • Browser name/version: Google Chrome 142.0.7444.176 for Windows 10.
  • Screenshot: See below (Sensitive content redacted via browser element inspector):

image.png (1×1 px, 211 KB)

Event Timeline

This is probably a symptom of the same issue as T411826: MediaWiki periodic job centralauth-backfilllocalaccounts.php-loginwiki failed. We'll definitely want to fix this on Monday.

Ah, I think I've found the culprit. In CentralAuthForcedLocalCreationService::attemptAutoCreateLocalUserFromName#87, we probably need to pass an explicit performer.

Change #1216556 had a related patch set uploaded (by Dragoniez; author: Dragoniez):

[mediawiki/extensions/CentralAuth@master] Pass an explicit performer when attempting CreateLocalAccount

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

Change #1216556 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] Pass an explicit performer when attempting CreateLocalAccount

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

Change #1216558 had a related patch set uploaded (by D3r1ck01; author: Dragoniez):

[mediawiki/extensions/CentralAuth@wmf/1.46.0-wmf.5] Pass an explicit performer when attempting CreateLocalAccount

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

Change #1216558 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@wmf/1.46.0-wmf.5] Pass an explicit performer when attempting CreateLocalAccount

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

Mentioned in SAL (#wikimedia-operations) [2025-12-08T14:27:50Z] <derick@deploy2002> Started scap sync-world: Backport for [[gerrit:1216558|Pass an explicit performer when attempting CreateLocalAccount (T411826 T411952)]]

Mentioned in SAL (#wikimedia-operations) [2025-12-08T14:29:47Z] <derick@deploy2002> d3r1ck01, derick: Backport for [[gerrit:1216558|Pass an explicit performer when attempting CreateLocalAccount (T411826 T411952)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-12-08T14:34:54Z] <derick@deploy2002> Finished scap sync-world: Backport for [[gerrit:1216558|Pass an explicit performer when attempting CreateLocalAccount (T411826 T411952)]] (duration: 07m 04s)

@HideonRosie, an attempted fix was deployed. Could you check to see if the issue is resolved on your side? Thanks!

@DAlangi_WMF @Tgr @Dragoniez The issue now is a bit diffrent.

image.png (1×1 px, 204 KB)

Now it's blocked by local filter (filter is not a problem). The filter 32 logs show that the target account is the one who performed the action. Added a bypass for sysops, but it doesn’t seem to have any effect.

image.png (305×1 px, 131 KB)

@DAlangi_WMF @Tgr @Dragoniez The issue now is a bit diffrent.

image.png (1×1 px, 204 KB)

Now it's blocked by local filter (filter is not a problem). The filter 32 logs show that the target account is the one who performed the action. Added a bypass for sysops, but it doesn’t seem to have any effect.

image.png (305×1 px, 131 KB)

This is expected behaviour. The performer is Veritas Sapientiae, and the account being autocreated is Nvdtn19-bot. The "real performer" cannot be referenced with the current AbuseFilter functionality. You may be interested in T366858.

@DAlangi_WMF Thanks for the backport!

@HideonRosie Was your source IP blocked from account creation when you attempted this? If so, the block was correctly bypassed, and we can resolve this task :)

@HideonRosie Was your source IP blocked from account creation when you attempted this? If so, the block was correctly bypassed, and we can resolve this task :)

Yes, my IP is still blocked, and I agree now this task is resolved.

@DAlangi_WMF Thanks for the backport!

Sure thing @Dragoniez, and thanks for the patch. I'm glad the issue is now resolved. 🎉

And this for reporting @HideonRosie 🥳