I discovered that the function ExtensionRegistry::getInstance()->isLoaded( 'OpenIDConnect' ) does not work as expected
→ because it requires the match with the exact name of an extension as printed in extension.json
This appears not to be logical when coders have used for many years (for example) wfLoadExtension( 'OpenIDConnect' ):
→ they have to use ExtensionRegistry::getInstance->isLoaded( 'OpenID Connect') with a space
- See my first report here https://www.mediawiki.org/wiki/Topic:Xyjw7nhfzaas5r5z
- I also added a tip on https://www.mediawiki.org/wiki/Manual:Developing_extensions#Handling_dependencies
What I propose is to find a solution without a breaking change of the function for other users. At least I did my very best to inform the community about this (may happen again) problem when relying on ExtensionRegistry::getInstance()->isLoaded().