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

Jon <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #12 from Jon <[email protected]> ---
> We might need to add media queries to handle mobile-specific styling for
> Parsoid-specific content. Could you add a patch for this?
A better approach might be to simply wrap them in a media query that targets
larger screens (e.g. take a mobile first approach) - this would solve the issue
with mobile as the existing styles will kick in - sadly however this will mean
the rules are loaded unnecessarily on mobile.

My main worry is this file getting even more bloaty. Would it not make sense to
use skinStyles on this module so that the styles only apply to Vector/Monobook?

> I'm not opposed to this, but there is still some value in developing the
> Parsoid styles somewhat independently for a while. Folks are hesitant to
> merge styles that are not yet used for normal page views, but that will
> change with broader Parsoid content use.


Yeh I'm aware of this anti-pattern in the MediaWiki community :-). Personally I
don't think this sandboxed approach works but I understand this is a bigger
problem than this and this is the current status quo.

-- 
You are receiving this mail because:
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