On 11.05.2012, 12:24 Ryan 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.

Such functionality already exists, even with the same class name ;-8
However, there's a problem with this code[1] that prevents it from
working in all situations.

----
[1] https://bugzilla.wikimedia.org/show_bug.cgi?id=36742

-- 
Best regards,
  Max Semenik ([[User:MaxSem]])


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

Reply via email to