Steps to replicate the issue (include links if applicable):
- Set the following config:
$wgAutoCreateTempUser['enabled'] = true; $wgTitleBlacklistLogHits = true; $wgTitleBlacklistBlockAutoAccountCreation = false; // this line is required until T405805 is resolved
- Add a rule to MediaWiki:Titleblacklist that will match on account creation
- Attempt to create an account that matches the rule
What happens?:
2025-09-26 21:41:23 a3597053e5f4 my_wiki: [a20e32f189db78d9b82231d4] /w/index.php?title=Special:CreateAccount&returnto=Main+Page MediaWiki\Exception\CannotCreateActorException: Cannot create an actor for an IP user when temporary accounts are enabled
#0 /var/www/html/w/includes/user/ActorStore.php(407): MediaWiki\User\ActorStore->validateActorForInsertion()
#1 /var/www/html/w/includes/logging/ManualLogEntry.php(318): MediaWiki\User\ActorStore->acquireActorId()
#2 /var/www/html/w/extensions/TitleBlacklist/includes/Hooks.php(295): MediaWiki\Logging\ManualLogEntry->insert()
#3 /var/www/html/w/extensions/TitleBlacklist/includes/Hooks.php(198): MediaWiki\Extension\TitleBlacklist\Hooks::logFilterHitUsername()
#4 /var/www/html/w/extensions/TitleBlacklist/includes/TitleBlacklistPreAuthenticationProvider.php(56): MediaWiki\Extension\TitleBlacklist\Hooks::testUserName()
#5 /var/www/html/w/includes/auth/AuthManager.php(1586): MediaWiki\Extension\TitleBlacklist\TitleBlacklistPreAuthenticationProvider->testForAccountCreation()
#6 /var/www/html/w/includes/auth/AuthManager.php(1424): MediaWiki\Auth\AuthManager->continueAccountCreation()
#7 /var/www/html/w/includes/specialpage/AuthManagerSpecialPage.php(417): MediaWiki\Auth\AuthManager->beginAccountCreation()
#8 /var/www/html/w/includes/specialpage/AuthManagerSpecialPage.php(548): MediaWiki\SpecialPage\AuthManagerSpecialPage->performAuthenticationStep()
#9 /var/www/html/w/includes/htmlform/HTMLForm.php(825): MediaWiki\SpecialPage\AuthManagerSpecialPage->handleFormSubmit()
#10 /var/www/html/w/includes/specialpage/AuthManagerSpecialPage.php(479): MediaWiki\HTMLForm\HTMLForm->trySubmit()
#11 /var/www/html/w/includes/specialpage/LoginSignupSpecialPage.php(410): MediaWiki\SpecialPage\AuthManagerSpecialPage->trySubmit()
#12 /var/www/html/w/includes/specialpage/SpecialPage.php(725): MediaWiki\SpecialPage\LoginSignupSpecialPage->execute()
#13 /var/www/html/w/includes/specialpage/SpecialPageFactory.php(1744): MediaWiki\SpecialPage\SpecialPage->run()
#14 /var/www/html/w/includes/actions/ActionEntryPoint.php(499): MediaWiki\SpecialPage\SpecialPageFactory->executePath()
#15 /var/www/html/w/includes/actions/ActionEntryPoint.php(143): MediaWiki\Actions\ActionEntryPoint->performRequest()
#16 /var/www/html/w/includes/MediaWikiEntryPoint.php(198): MediaWiki\Actions\ActionEntryPoint->execute()
#17 /var/www/html/w/index.php(58): MediaWiki\MediaWikiEntryPoint->run()
#18 {main}Similar to T358806, but this might be harder(?) to solve because TitleBlacklist checks account creations rather than edits (in the latter case, a temporary account has already been made for the user).