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

--- Comment #7 from Gabriel Wicke <gwi...@wikimedia.org> ---
(In reply to C. Scott Ananian from comment #6)
> Mm.  Now I'm thinking the mw option might be `square` so that Parsoid emits:
> 
> [[Figure:Foobar.jpg|200px|square]]
> [[Figure:Foobar.jpg|thumb|square]] <!-- equivalent to upright=1 -->
> [[Figure:Foobar.jpg|upright=0.5|square]]
> 
> That would provide the same functionality but address James' concern in
> comment 2.

I'm not a fan of adding more work-arounds that modify older work-arounds. If we
can fix this up cleanly with something like scale & square bounding box by
default then we should do so IMO. That would result in cleaner wikitext like
this:

[[Figure:Foobar.jpg|200px]]
[[Figure:Foobar.jpg|thumb]]
[[Figure:Foobar.jpg|scale=0.75]]

An automatic conversion that preserves existing image sizes is very much
possible if the community agrees that going for a square bounding box by
default makes sense. But again, lets not get ahead of ourselves to much here &
focus on the Parsoid interface for now.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to