Talk:Global templates/Transition
Add topicThis page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
Migrating Common.css styles
[edit]In the âMigrating the first version of a template or a module from a local wiki to the global repoâ section it says
Some others, however, will be in Common.css or other wiki pages. Copy them to the global repository.
For me it means that Common.css styles should be copied to Common.css in the global wiki. They shouldnât. Common.css of the global wiki shouldnât be globalâglobalizing it causes yet another software component to develop, maintain, secure and provide with adequate tooling (e.g. possibility to preview its changes on different wikisâCommon.css changes canât be previewed even locally). Common.css is not designed for styling templates, for example there are no good tools to associate its styles even for humans with the template it styles, let alone machine-readably; itâs loaded on all pages and thus edits to it have considerable performance impact, especially if itâs loaded on all pages of every single Wikimedia wiki; it can style anything on the page, including outside of the content area, so itâs too powerful to be edited by anyone; and so on. Styles that currently reside in Common.css should be migrated to TemplateStyles when moving to the global repo. Tacsipacsi (talk) 16:49, 14 June 2020 (UTC)
- Excellent comment, thank you. Yes, I agree with everything you say. Of course, they shouldn't be copied to Common.css, and they shouldn't be in Common.css to begin with. I clarified it in the text, feel free to improve it further.
- Thanks for the edit about concatenation, too! Amir E. Aharoni {{đđđ}} 19:16, 14 June 2020 (UTC)
Transition to Global namespace at Mediawiki.org
[edit]One could use Global:Template:XXX or Global.MediaWiki.org/wiki/Template:XXXX BoldLuis (talk) 15:24, 11 August 2022 (UTC)