Task #2775
openIntegrating TemplateStyles extension for our wiki
0%
Description
MediaWiki released TemplateStyles extension last year. with this extension any experienced editors would be allowed to write sanitized CSS stylesheets and use them in templates, no need to ask administrators for modifying common.css.
In this page I saw a small Wikipedia globe may jumps to the beginning of next line if I resize the browser window, but other links doesn't, however if TemplateStyles is introduced, the related template can be improved by means of stylesheets, as what other types of links performanced.
See: https://www.mediawiki.org/wiki/Extension:TemplateStyles
Updated by Adolfo Jayme Barrientos over 5 years ago
As an alternative to the extension, you can just ping me with whatever CSS updates you have and I’ll apply them :) (I’m [[User:Fito]] at the wiki)
Updated by Krasnaya Ploshchad’ over 5 years ago
Adolfo Jayme Barrientos wrote:
As an alternative to the extension, you can just ping me with whatever CSS updates you have and I’ll apply them :) (I’m [[User:Fito]] at the wiki)
Ok, but the official blog pointed out that the CSS could quickly grow to huge sizes if every special case were added there, it would making the wiki slowly loaded to the reader, however, with the help of TemplateStyles we can be able to separate some special cases into specific templates, then they'll be used only if the template is used, thus make the web page lighter.
Updated by Florian Effenberger over 5 years ago
- Assignee changed from Guilhem Moulin to Dennis Roczek
Dennis, is this something you can look into? ;-)
Updated by Krasnaya Ploshchad’ over 1 year ago
On MediaWiki:Common.css we have various CSS styles specific to template, which could be used for pages used relevant template, but may not used for other pages that don't used such templates. With this extension it's possible to export them to specific templates, and making wiki pages loading faster.