https://bugzilla.wikimedia.org/show_bug.cgi?id=64578

            Bug ID: 64578
           Summary: Kill hacks.less
           Product: MobileFrontend
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Hygiene
          Assignee: jrob...@wikimedia.org
          Reporter: jrob...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

The MobileFrontend extension has a file called hacks.less

http://git.wikimedia.org/blob/mediawiki%2Fextensions%2FMobileFrontend/8d9184c2d4af6e460ccea44be32b88db6565afc7/less%2Fcommon%2Fhacks.less

The purpose of this style is to optimise various user created templates for
mobile devices by overriding existing known inline styles. It does this by
using !important which is the only way to override an inline style.

Ideally this file shouldn't exist. All the components should have CSS which
optimise the template for various display sizes.

The creation of a mechanism to style templates would provide a great generic
solution to this problem:
https://www.mediawiki.org/wiki/Requests_for_comment/Allow_styling_in_templates

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to