Page MenuHomePhabricator

Wikimedia\NormalizedException\NormalizedException: Invalid username: {username}
Open, Needs TriagePublicPRODUCTION ERROR

Description

Error
  • mwversion: 1.46.0-wmf.7
  • timestamp: 2026-01-05T16:37:46.810Z
  • phpversion: 8.3.28
  • reqId: 342e74ec-6ca9-4879-be6d-00d935789757
  • Find reqId in Logstash
normalized_message
[{reqId}] {exception_url}   Wikimedia\NormalizedException\NormalizedException: Invalid username: {username}
FrameLocationCall
from/srv/mediawiki/php-1.46.0-wmf.7/extensions/CentralAuth/includes/User/CentralAuthUser.php(242)
#0/srv/mediawiki/php-1.46.0-wmf.7/extensions/CentralAuth/includes/User/CentralAuthUser.php(286)MediaWiki\Extension\CentralAuth\User\CentralAuthUser::normalizeUsername(string)
#1/srv/mediawiki/php-1.46.0-wmf.7/extensions/CentralAuth/includes/User/CentralAuthUserHelper.php(87)MediaWiki\Extension\CentralAuth\User\CentralAuthUser::getPrimaryInstanceByName(string)
#2/srv/mediawiki/php-1.46.0-wmf.7/extensions/CentralAuth/includes/User/CentralAuthUserHelper.php(29)MediaWiki\Extension\CentralAuth\User\CentralAuthUserHelper->getCentralAuthUserByNameInternal(Closure, string, MediaWiki\User\User)
#3/srv/mediawiki/php-1.46.0-wmf.7/extensions/CentralAuth/includes/Special/SpecialGlobalGroupMembership.php(257)MediaWiki\Extension\CentralAuth\User\CentralAuthUserHelper->getCentralAuthUserByNameFromPrimary(string, MediaWiki\User\User)
#4/srv/mediawiki/php-1.46.0-wmf.7/extensions/CentralAuth/includes/Special/SpecialGlobalGroupMembership.php(87)MediaWiki\Extension\CentralAuth\Special\SpecialGlobalGroupMembership->fetchUser(string)
#5/srv/mediawiki/php-1.46.0-wmf.7/includes/SpecialPage/SpecialPage.php(711)MediaWiki\Extension\CentralAuth\Special\SpecialGlobalGroupMembership->execute(string)
#6/srv/mediawiki/php-1.46.0-wmf.7/includes/SpecialPage/SpecialPageFactory.php(1744)MediaWiki\SpecialPage\SpecialPage->run(string)
#7/srv/mediawiki/php-1.46.0-wmf.7/includes/Actions/ActionEntryPoint.php(504)MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, MediaWiki\Context\RequestContext)
#8/srv/mediawiki/php-1.46.0-wmf.7/includes/Actions/ActionEntryPoint.php(144)MediaWiki\Actions\ActionEntryPoint->performRequest()
#9/srv/mediawiki/php-1.46.0-wmf.7/includes/MediaWikiEntryPoint.php(181)MediaWiki\Actions\ActionEntryPoint->execute()
#10/srv/mediawiki/php-1.46.0-wmf.7/index.php(44)MediaWiki\MediaWikiEntryPoint->run()
#11/srv/mediawiki/w/index.php(3)require(string)
#12{main}
Impact

Three errors during the past three days, via specific requests for that URL

Notes

I guess that the slash in the purported user name might be the problem but have not tried to test that. Slashes in user names are supposed to be escaped, but maybe that doesn't happen here? I also guess that someone meant that the field in question was not applicable, and "n/a" was their way of indicating it.

Details

Request URL
https://meta.wikimedia.org/wiki/Special:GlobalUserRights/n/a