Same like in thumbnails, see https://dev.w3.org/html5/srcset
Example: https://commons.wikimedia.org/wiki/Category:Magnetic_resonance_imaging_of_the_brain
Same like in thumbnails, see https://dev.w3.org/html5/srcset
Example: https://commons.wikimedia.org/wiki/Category:Magnetic_resonance_imaging_of_the_brain
Elaborating why they "should" have a srcset welcome.
What is broken if they don't have? Is srcset new in HTML5?
(In reply to Andre Klapper from comment #1)
Elaborating why they "should" have a srcset welcome.
What is broken if they don't have? Is srcset new in HTML5?
Yes it is new in HTML5 and already implement on MediaWiki thumbnails. We need it for same reasons as we needed in thumbnails. There are many bugs with srcset - https://bugzilla.wikimedia.org/buglist.cgi?quicksearch=srcset&list_id=287414.
This issue also affects other places where galleries are rendered, using the <gallery/> tag.
Change 192960 had a related patch set uploaded (by Brian Wolff):
Add srcset for images in <gallery>
Change 193146 had a related patch set uploaded (by Brion VIBBER):
Update parser test case for gallery srcset support
Change 193146 merged by jenkins-bot:
Update parser test case for gallery srcset support