Jump to content

Topic on Project:Support desk

Solved. and added as tip to https://www.mediawiki.org/wiki/Manual:Developing_extensions#Handling_dependencies


I need to report:

While loading as

wfLoadExtension( "OpenIDConnect" )

works,

the function

ExtensionRegistry::getInstance()->isLoaded( 'OpenIDConnect' )

function isLoaded appears to check the - different - name in extension.json, which is "OpenID Connect" with a space!

So I had to use

ExtensionRegistry::getInstance()->isLoaded( 'OpenID Connect' )


This should be corrected in some way upstream (mediawiki extension registry workflow) and in the documentation.