Special:Contributions can't be accessed for IP ranges, fails with InvalidArgumentException if the users accessing the special page has the block permission.
Compare https://www.mediawiki.org/wiki/Special:Contributions/::1/64 / https://www.mediawiki.org/wiki/Special:Contributions/127.0.0.1/24 to https://en.wikipedia.org/wiki/Special:Contributions/::1/64 / https://en.wikipedia.org/wiki/Special:Contributions/127.0.0.1/24
2024-02-21 15:22:33.853467 [4c4e4dc3-78be-4a3c-a527-b6c041d59c6b] mw-web.eqiad.main-58dcdb56f6-7d2sd mediawikiwiki 1.42.0-wmf.19 exception ERROR: [4c4e4dc3-78be-4a3c-a527-b6c041d59c6b] /wiki/Special:Contributions/::1/64 InvalidArgumentException: Invalid username: 0:0:0:0:0:0:0:0/64 {"exception_url":"/wiki/Special:Contributions/::1/64","reqId":"4c4e4dc3-78be-4a3c-a527-b6c041d59c6b","caught_by":"entrypoint"} [Exception InvalidArgumentException] (/srv/mediawiki/php-1.42.0-wmf.19/extensions/CentralAuth/includes/User/CentralAuthUser.php:253) Invalid username: 0:0:0:0:0:0:0:0/64 #0 /srv/mediawiki/php-1.42.0-wmf.19/extensions/CentralAuth/includes/User/CentralAuthUser.php(230): MediaWiki\Extension\CentralAuth\User\CentralAuthUser::getInstanceByName(string) #1 /srv/mediawiki/php-1.42.0-wmf.19/extensions/CentralAuth/includes/CentralAuthHooks.php(446): MediaWiki\Extension\CentralAuth\User\CentralAuthUser::getInstance(MediaWiki\User\User) #2 /srv/mediawiki/php-1.42.0-wmf.19/includes/HookContainer/HookContainer.php(159): MediaWiki\Extension\CentralAuth\CentralAuthHooks->onGetUserBlock(MediaWiki\User\User, NULL, NULL) #3 /srv/mediawiki/php-1.42.0-wmf.19/includes/HookContainer/HookRunner.php(1968): MediaWiki\HookContainer\HookContainer->run(string, array) #4 /srv/mediawiki/php-1.42.0-wmf.19/includes/block/BlockManager.php(247): MediaWiki\HookContainer\HookRunner->onGetUserBlock(MediaWiki\User\User, NULL, NULL) #5 /srv/mediawiki/php-1.42.0-wmf.19/includes/user/User.php(1461): MediaWiki\Block\BlockManager->getBlock(MediaWiki\User\User, NULL, boolean) #6 /srv/mediawiki/php-1.42.0-wmf.19/includes/specials/SpecialContributions.php(586): MediaWiki\User\User->getBlock() #7 /srv/mediawiki/php-1.42.0-wmf.19/includes/specials/SpecialContributions.php(444): MediaWiki\Specials\SpecialContributions::getUserLinks(MediaWiki\Specials\SpecialContributions, MediaWiki\User\User, MediaWiki\Permissions\PermissionManager, MediaWiki\HookContainer\HookRunner) #8 /srv/mediawiki/php-1.42.0-wmf.19/includes/specials/SpecialContributions.php(220): MediaWiki\Specials\SpecialContributions->contributionsSub(MediaWiki\User\User, string) #9 /srv/mediawiki/php-1.42.0-wmf.19/includes/specialpage/SpecialPage.php(720): MediaWiki\Specials\SpecialContributions->execute(string) #10 /srv/mediawiki/php-1.42.0-wmf.19/includes/specialpage/SpecialPageFactory.php(1653): MediaWiki\SpecialPage\SpecialPage->run(string) #11 /srv/mediawiki/php-1.42.0-wmf.19/includes/actions/ActionEntryPoint.php(504): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, MediaWiki\Context\RequestContext) #12 /srv/mediawiki/php-1.42.0-wmf.19/includes/actions/ActionEntryPoint.php(145): MediaWiki\Actions\ActionEntryPoint->performRequest() #13 /srv/mediawiki/php-1.42.0-wmf.19/includes/MediaWikiEntryPoint.php(199): MediaWiki\Actions\ActionEntryPoint->execute() #14 /srv/mediawiki/php-1.42.0-wmf.19/index.php(58): MediaWiki\MediaWikiEntryPoint->run() #15 /srv/mediawiki/w/index.php(3): require(string) #16 {main}