Use ExtensionRegistry rather than class_exists
Use ExtensionRegistry rather than class_exists

Change-Id: I225f8367105bf3bffcc6c4c83fcebe9de2c19779

wikimedia/mediawiki-extensions-WikiLove,wikimedia/mediawiki-extensions-WikiLove