List of steps to reproduce (step by step, including full links if applicable):
- Install and enable PluggableAuth
- From an extension, call the userCanAuthenticate function in the AuthManager:
\MediaWiki\MediaWikiServices::getInstance()->getAuthManager()->userCanAuthenticate( 'Eleanor Rigby' );
What happens?:
A fatal error is thrown:
PHP Error: Class 'MediaWiki/Permissions/Authority' not found in /mediawiki-1.35.6-permissions/extensions/PluggableAuth/includes/PrimaryAuthenticationProvider.php on line 230
What should have happened instead?:
true or false should be returned, depending on whether the user can authenticate.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
MediaWiki 1.35.6 with PluggableAuth 6.0.