Urls look like:
/w/index.php?title=Special:Contributions&contribs=user&target=*** where *** is an abusive username that was blocked.
Stacktrace:
2018-07-19 10:28:24 [W1BnyApAAEYAAD6E1UgAAADU] mw1275 metawiki 1.32.0-wmf.13 exception ERROR: { exception_id: W1BnyApAAEYAAD6E1UgAAADU exception_url: "/w/index.php?limit=50&title=Special%3AContributions&contribs=user&target=***&namespace=&tagfilter=&start=&end=", "caught_by": mwe_handler } [Exception InvalidArgumentException] (/srv/mediawiki/php-1.32.0-wmf.13/includes/Block.php:1514) Blocker must be a local user or a name that cannot be a local user #0 /srv/mediawiki/php-1.32.0-wmf.13/includes/Block.php(462): Block->setBlocker(User) #1 /srv/mediawiki/php-1.32.0-wmf.13/includes/Block.php(492): Block->initFromRow(stdClass) #2 /srv/mediawiki/php-1.32.0-wmf.13/includes/Block.php(362): Block::newFromRow(stdClass) #3 /srv/mediawiki/php-1.32.0-wmf.13/includes/Block.php(1195): Block->newLoad(NULL) #4 /srv/mediawiki/php-1.32.0-wmf.13/includes/user/User.php(1847): Block::newFromTarget(User, NULL, boolean) #5 /srv/mediawiki/php-1.32.0-wmf.13/includes/user/User.php(2274): User->getBlockedStatus(boolean) #6 /srv/mediawiki/php-1.32.0-wmf.13/includes/user/User.php(2264): User->getBlock(boolean) #7 /srv/mediawiki/php-1.32.0-wmf.13/includes/specials/SpecialContributions.php(376): User->isBlocked() #8 /srv/mediawiki/php-1.32.0-wmf.13/includes/specials/SpecialContributions.php(306): SpecialContributions::getUserLinks(SpecialContributions, User) #9 /srv/mediawiki/php-1.32.0-wmf.13/includes/specials/SpecialContributions.php(114): SpecialContributions->contributionsSub(User) #10 /srv/mediawiki/php-1.32.0-wmf.13/includes/specialpage/SpecialPage.php(566): SpecialContributions->execute(NULL) #11 /srv/mediawiki/php-1.32.0-wmf.13/includes/specialpage/SpecialPageFactory.php(569): SpecialPage->run(NULL) #12 /srv/mediawiki/php-1.32.0-wmf.13/includes/MediaWiki.php(288): SpecialPageFactory::executePath(Title, RequestContext) #13 /srv/mediawiki/php-1.32.0-wmf.13/includes/MediaWiki.php(867): MediaWiki->performRequest() #14 /srv/mediawiki/php-1.32.0-wmf.13/includes/MediaWiki.php(524): MediaWiki->main() #15 /srv/mediawiki/php-1.32.0-wmf.13/index.php(42): MediaWiki->run() #16 /srv/mediawiki/w/index.php(3): include(string) #17 {main}
Explanation:
I was typing an username in Special:Contributions. A list of abusive usernames attacking that user also appear there so I wanted to know if those were handled properly. Selecting any of them resulted in the fatal I reported above.