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

Jon <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |LATER

--- Comment #14 from Jon <[email protected]> 2012-10-01 17:32:44 UTC ---
The original problem that was being raised as I read it was "I cannot target
styles on to the mobile site". Going deeper I read this to mean 'there is
something I styled on desktop that simply must be on mobile'. This is not the
same as meaning 'everything style on desktop should be on mobile'. Currently
MediaWiki:Common.css is not maintained with mobile in mind - most of the time
it is fixing problems on desktop. In fact numerous of the css rules in
MediaWiki:Common.css have been targeted in the MobileFrontend core to be
optimised for mobile. There are also various rules that exist in
MediaWiki:Common.css such as '.treeview ul' that don't appear on every page -
so these are not in fact what I'd call 'common'. These add unnecessary bloat to
mobile where every byte matters.

The fact that MediaWiki:Common.css is how styles get to the desktop site is
irrelevant.

As far as I can see MediaWiki:Mobile.css allows people that are concerned about
these things to target css to mobile users to address mobile specific problems.

There is a real opportunity here to include MediaWiki:Mobile.css on desktop and
move styles applicable to both desktop and mobile to MediaWiki:Mobile.css - I
think this is a much better approach and I think would get closer to what is
needed.

FWIW a server admin who really really wants MediaWiki:Common.css in mobile can
do so by adding the following line to their config:
$wgMobileSiteResourceLoaderModule['MediaWiki:Common.css'] = array( 'type' =>
'style' );

Personally my opinion is this should be marked as WONTFIX but I'm marking it
with the more optimistic LATER. This is not a bug. It's currently by design.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to