Per T98668: Convert all extensions and skins on gerrit to use extension registration, extensions should be converted to the modern mechanism that MediaWiki uses to load extensions and skins.
It should be done for this extension too.
Visit the parent task T98668 for some helpful pointers and Manual: Extension_registration to learn about the mechanism for loading extensions and skins.