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

--- Comment #1 from Tisza Gergő <gti...@wikimedia.org> ---
The markup for the image is

<figure class="mw-default-size" typeof="mw:Image/Thumb"
data-parsoid="{&quot;optList&quot;:[{&quot;ck&quot;:&quot;thumbnail&quot;,&quot;ak&quot;:&quot;thumb&quot;}],&quot;dsr&quot;:[0,57,2,2]}"><a
href="./File:Flow-echo_notices_need_longer_excerpts.png"
data-parsoid="{&quot;a&quot;:{&quot;href&quot;:&quot;./File:Flow-echo_notices_need_longer_excerpts.png&quot;},&quot;dsr&quot;:[2,55,null,null]}"><img
resource="./File:Flow-echo_notices_need_longer_excerpts.png"
src="//upload.wikimedia.org/wikipedia/commons/thumb/e/e9/Flow-echo_notices_need_longer_excerpts.png/220px-Flow-echo_notices_need_longer_excerpts.png"
height="185" width="220"
data-parsoid="{&quot;a&quot;:{&quot;resource&quot;:&quot;./File:Flow-echo_notices_need_longer_excerpts.png&quot;,&quot;height&quot;:&quot;185&quot;,&quot;width&quot;:&quot;220&quot;},&quot;sa&quot;:{&quot;resource&quot;:&quot;File:Flow-echo
notices need longer excerpts.png&quot;}}"></a></figure>

"figure[typeof=mw:Image/Thumb] img" seems like a good selector to match these.
We would need to refactor MultimediaViewerBootstrap.processThumb a bit since
too much of the current thumb markup is hardcoded in the logic.

-- 
You are receiving this mail because:
You are the assignee for the bug.
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