In an docker environment of mediawiki 1.43 when installing the extension I get this error: /wiki/Special:RequestAccount Error: Call to undefined method MediaWiki\User\User::isBlockedFromCreateAccount()
It seems that the method has been deprecated.
In an docker environment of mediawiki 1.43 when installing the extension I get this error: /wiki/Special:RequestAccount Error: Call to undefined method MediaWiki\User\User::isBlockedFromCreateAccount()
It seems that the method has been deprecated.
It works to replace "$block = $user->isBlockedFromCreateAccount();" with "$block = MediaWikiServices::getInstance()->getBlockManager()->getCreateAccountBlock( $user, RequestContext::getMain()->getRequest(), true );" in includes/backend/ConfirmAccount.class.php line 319 (taken from https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikimediaEvents/+/965269/2/includes/BlockMetrics/BlockMetricsHooks.php#16)
Feel free to submit that patch to Gerrit. This extension does not seem to be very actively maintained here.
Thank you for the feedback. I am not involved with gerrit so I don't know if I am willing to find out how to submit patches there just now.