Page MenuHomePhabricator

Special:Block broken on translatewiki.net
Closed, ResolvedPublic

Description

Error: Call to undefined method MediaWiki\Block\DatabaseBlock::getTarget()

#0 /srv/mediawiki/tags/2021-12-16_01:42:07/includes/HookContainer/HookContainer.php(338): SMW\\MediaWiki\\Hooks->onBlockIpComplete()
#1 /srv/mediawiki/tags/2021-12-16_01:42:07/includes/HookContainer/HookContainer.php(137): MediaWiki\\HookContainer\\HookContainer->callLegacyHook()
#2 /srv/mediawiki/tags/2021-12-16_01:42:07/includes/HookContainer/HookRunner.php(1029): MediaWiki\\HookContainer\\HookContainer->run()
#3 /srv/mediawiki/tags/2021-12-16_01:42:07/includes/block/BlockUser.php(602): MediaWiki\\HookContainer\\HookRunner->onBlockIpComplete()
#4 /srv/mediawiki/tags/2021-12-16_01:42:07/includes/block/BlockUser.php(530): MediaWiki\\Block\\BlockUser->placeBlockInternal()
#5 /srv/mediawiki/tags/2021-12-16_01:42:07/includes/block/BlockUser.php(464): MediaWiki\\Block\\BlockUser->placeBlockUnsafe()
#6 /srv/mediawiki/tags/2021-12-16_01:42:07/includes/specials/SpecialBlock.php(912): MediaWiki\\Block\\BlockUser->placeBlock()
#7 /srv/mediawiki/tags/2021-12-16_01:42:07/includes/specials/SpecialBlock.php(1026): SpecialBlock::processFormInternal()
#8 /srv/mediawiki/tags/2021-12-16_01:42:07/includes/htmlform/HTMLForm.php(724): SpecialBlock->onSubmit()
#9 /srv/mediawiki/tags/2021-12-16_01:42:07/includes/htmlform/HTMLForm.php(614): HTMLForm->trySubmit()
#10 /srv/mediawiki/tags/2021-12-16_01:42:07/includes/htmlform/HTMLForm.php(630): HTMLForm->tryAuthorizedSubmit()
#11 /srv/mediawiki/tags/2021-12-16_01:42:07/includes/specialpage/FormSpecialPage.php(187): HTMLForm->show()
#12 /srv/mediawiki/tags/2021-12-16_01:42:07/includes/specialpage/SpecialPage.php(671): FormSpecialPage->execute()
#13 /srv/mediawiki/tags/2021-12-16_01:42:07/includes/specialpage/SpecialPageFactory.php(1377): SpecialPage->run()
#14 /srv/mediawiki/tags/2021-12-16_01:42:07/includes/MediaWiki.php(314): MediaWiki\\SpecialPage\\SpecialPageFactory->executePath()
#15 /srv/mediawiki/tags/2021-12-16_01:42:07/includes/MediaWiki.php(903): MediaWiki->performRequest()
#16 /srv/mediawiki/tags/2021-12-16_01:42:07/includes/MediaWiki.php(563): MediaWiki->main()
#17 /srv/mediawiki/tags/2021-12-16_01:42:07/index.php(53): MediaWiki->run()
#18 /srv/mediawiki/tags/2021-12-16_01:42:07/index.php(46): wfIndexMain()
#19 {main}

AbstractBlock::getTarget was soft hard deprecated in rMWe991dff9252d: Hard-deprecate AbstractBlock::getTargetAndType() and getTarget() and removed in rMW25bb5b296ae7: Cleanup hard-deprecated code in blocks..