Closed malberts closed 3 years ago
I don't know if this is the right place, but can we use this to discuss a rough roadmap?
I think most of my initial points are obvious (and feel free to add to it).
Just one specific question: What is the plan for MediaWiki 1.31? Does it get one last release and then we no longer care about it? Or do we explicitly remove all 1.31 workarounds and keep only 1.35+ logic?
What is the plan for MediaWiki 1.31? Does it get one last release and then we no longer care about it?
Sounds good to me. Requiring 1.35 for new releases is reasonable at this point.
Dropping MediaWiki compat should not be done in a patch release. Indeed, perhaps it should only be done in a major release. That is what we figured out for SMW, as described at https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/docs/RELEASE-POLICY.md#release-policy
I am glad to see some development activity on Chameleon! My suggestion would be to address 3 things about Chameleon:
!important
quite a bit. This is especially difficult with regular in text link colors. — Maybe this could be unified more?Thanks for the feedback @despens. A few quick comments from my side:
_light
theme replaceable, thereby removing some of Chameleon's opinions (e.g. if you just don't want them, or if you use Bootswatch)Thank you @malberts for your explanations.
Regarding SCSS vs LESS, I know it's probably unrealistic, but would using the same CSS pre-processor as Mediawiki make a difference? Otherwise it would probably be desirable to skip the CSS output of Mediawiki, but only in certain name spaces, because some features and extensions are reliant on Mediawiki stylesheets being present (such as Wikibase).
I have tried the BootstrapComponents extension, but it works on a very different level. Perhaps the only way to do it is to use Chameleon's raw HTML feature to load another JavaScript file that initializes whatever Bootstrap features required. Otherwise I wouldn't see harm in an option that would just activate all Bootstrap features that need to be initialized. They can anyway only be used in complex templates.
There is some rudimentary support for loading modules in the Bootstrap extension, but I never got around to make it properly work. Styles are usually only loaded once and then cached anyway, so Chameleon just does a 'Load all', which loads the standard Bootstrap modules, but no 'frills', like Popovers (as @malberts noted).
Edit: So maybe some configuration variable e.g. $egRequiredModules
for the Bootstrap extension would be the way forward?
Would GitHub Discussions (https://docs.github.com/en/discussions) be better for this purpose?
I have not used that feature yet but curious to see how it works. Enabled for this repo now, so knock yourselves out: https://github.com/ProfessionalWiki/chameleon/discussions
I'm going to convert this issue to a discussion and then we can see how it goes.
Version 3.2.0 (next unreleased)
$wgDevelopmentWarnings = true
)Version 3.2.x (future)
Version 4.x (future)
Future