On Fri, Apr 20, 2012 at 3:30 PM, Jon Robson jdlrobson@gmail.com wrote:
** one could imagine pages/templates being able to maintain their own stylesheets for desktop and mobile to allow customisations
^^^ this would be very useful!
Is that something that has been discussed before and is feasible? It would certainly be useful for mobile as we could apply page specific hacks where needed to fix bugs on the mobile site rather than putting generic rules elsewhere.
There is https://bugzilla.wikimedia.org/show_bug.cgi?id=15075 (open since 2008), requesting a way to define CSS and JS specific to certain groups of pages (specifically the books on Wikibooks projects). If there was a way to define CSS for pages in a given category, wouldn't this solve both use cases?
Best regards, Helder