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

--- Comment #3 from Gabriel Wicke <[email protected]> ---
180px happens to be the default size (index 2 in $wgThumbLimits). We *could*
add the default thumb size setting in the MediaWiki API, but afaik right now
that information is not available.

As documented in
http://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec#Images, we set the
mw-default-size class on images that should be scaled to preferences.
User-specific scaling can then done with client-side JS by matching on the
class. That avoids the need for different versions of the page content in
caches, which is good for performance.

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