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

MZMcBride <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
            Summary|Mobile view and printable   |MobileFrontend should not
                   |can't work together         |rely on noprint CSS class

--- Comment #1 from MZMcBride <[email protected]> 2012-03-03 23:03:04 UTC ---
Fairly sure this has the same root cause as
<https://en.wikipedia.org/w/index.php?title=MediaWiki_talk:Common.css&oldid=480016042#Age_doesn.27t_show_up_on_mobile_wikipedia>.
I changed the bug summary to "MobileFrontend should not rely on noprint CSS
class" accordingly.

Re-using the "noprint" class is clever, but ultimately unwise. Sometimes you
want things to not be on mobile and sometimes you want things to not be on
print. They're distinct categories, with some overlap. Luckily, CSS supports
multiple classes.

There should be a "nomobile" class that should be used when people want to hide
things from mobile. Currently it looks like people are inserting dummy classes
to trick the mobile parser (cf.
<https://en.wikipedia.org/w/index.php?title=Template:Birth_date_and_age&diff=479816119&oldid=436607844>).
This is bad.

-- 
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