On May 11, 2012, at 11:17 AM, Tei wrote:
On 11 May 2012 10:24, Ryan Kaldari rkaldari@wikimedia.org wrote:
What about this idea: We could introduce a new CSS class called 'nomobile' that functioned similarly to 'noprint' — any element set to this class would be hidden completely on mobile devices. If someone noticed a problem with a specific template on mobile devices, they could either fix the template or set it to 'nomobile'. This would make template creators aware of the problem and give them an incentive to fix their inline styles.
http://www.stuffandnonsense.co.uk/archives/images/specificitywars-05v2.jpg
I think theres a limitation to that, ".nomobile .darthvader .darthvader" will not work as expected (I think)
As far as CSS is concerned this will work just fine. Due to a logic error in the mobile site specifically it can fail sometimes. But CSS has no such bug or limitation, and in MediaWiki it will work just fine.
Not sure how that link is relevant..
-- Krinkle