From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search


We've been minifying the CSS on this page for months to cut down the page size. It's not a huge deal for this particular portal; the Wiktionary portal has considerably more CSS, so it's more important there. In any case, it's a temporary situation. template is the only portal that uses MediaWiki:Gadget-wm-portal.css but doesn't use the new CSS rules we've added to the other portals. I've got changes in template/temp that remove the dependency on Gadget-wm-portal.css, so we can move all the <style> tags over to a shared, automatically minified stylesheet, but first I need to finish making 2× versions of all the logos on template. If anyone would like to help out, please feel free! – Minh Nguyễn (talk, contribs) 06:20, 2 April 2014 (UTC)

I don't understand how this justifies to not keep /temp and the main page in synchronisation. They can both use the minimized stuff, it that is better. --MF-W 01:10, 3 April 2014 (UTC)
In my opinion, it would be a bit harder to maintain to CSS that way. (I just run the CSS through CSS Minifier, nothing fancy.) If you feel strongly that we should keep both pages literally in sync, we can do that, at the (temporary) expense of larger page sizes. – Minh Nguyễn (talk, contribs) 10:36, 4 April 2014 (UTC)
What is the benefit of a page that just has a few spaces and linebreaks less? --MF-W 14:05, 4 April 2014 (UTC)
A slightly larger page size, that's all. At the moment, minification makes up for the increased markup needed for 2× images and the Wiktionary portal's logo-swapping feature. But I don't feel very strongly about minifying the CSS since eventually it'll all end up in Gadget-wm-portal.css, which ResourceLoader automatically minifies for us. – Minh Nguyễn (talk, contribs) 06:22, 7 April 2014 (UTC)