Of the Bootstrap skins listed on https://www.mediawiki.org/wiki/Category:Skins_based_on_Bootstrap, only Chameleon depends on the Bootstrap extension. All other skins bundle their own resources. By requiring that extension, the wiki ends up loading all resources twice, and some skins run into JS event issues as mentioned in #93.
For non-Bootstrap skins that still want to use BootstrapComponents, the extension would still be required.
The check for Bootstrap availability should therefore be:
- if one of the listed skins, excluding Chameleon, is enabled
- else if Extension:Bootstrap is enabled
- fail with current error
Of the Bootstrap skins listed on https://www.mediawiki.org/wiki/Category:Skins_based_on_Bootstrap, only Chameleon depends on the Bootstrap extension. All other skins bundle their own resources. By requiring that extension, the wiki ends up loading all resources twice, and some skins run into JS event issues as mentioned in #93.
For non-Bootstrap skins that still want to use BootstrapComponents, the extension would still be required.
The check for Bootstrap availability should therefore be: