Translations:Manual:Extension registration/78/en

Both ways are error prone, class and constant namens, that aren't used for dependency checks only, are subject to change, which would break your "Extension-Installed-detection". To implement a standardized way of checking, if an extension is installed or not (without the need of extra work in an extension that is a soft-dependency in another one), extension registration can be used. It implements an  method, which returns a simple boolean, if the extension is installed or not (the extension needs to be loaded with extension registration for this to work). Instead of doing one of the above ways, you can do the following: