{"push_id":1655194478,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"7967ab77ee56687b764b2b7ee08e52cd609c3657","before":"1e199b67f054fb54a8852a86a3b1b3ac0ec0d83a","commits":[{"sha":"7967ab77ee56687b764b2b7ee08e52cd609c3657","author":{"name":"Bartosz Dziewoński","email":"c0b4cdb49fa946d1f47c2bda113e8407e76108c8@gmail.com"},"message":"Properly create the `<svg>` and `<image>` elements for thumbnails\n\nWe have to be careful about the namespaces here, and then we don't\nneed the awful `.html( .html() )` hack. (I honestly have no idea\nwhy that even worked for some browsers, it really shouldn't have.\nThe comment next to it is wrong.)\n\n* Construct the 'svg:svg' element with the right namespace\n* Set 'xlink:href' attribute on 'svg:image' element with the right namespace\n\nDoing this correctly makes the thumbnails work in Opera 12, and it also\nworks as before in (at least) Chromium 57, Firefox 53, IE 11 and Edge.\n\nI can't find out what version of Safari the other hack here was\nsupposed to apply to, but the code was wrong in both cases, and the\nhack was mistakenly also applied to modern Chromium.\n\nUseful resources for dealing with SVG embedded in HTML while scripting:\n\n* http://stackoverflow.com/questions/6701705/programmatically-creating-an-svg-image-element-with-javascript\n  * http://jsfiddle.net/UVFBj/8/\n* https://www.w3.org/Graphics/SVG/WG/wiki/Href#xlink:href\n\nBug: T161799\nChange-Id: I30b2a1291811296424018e013bd07055ae7551d7","distinct":true,"url":"https://api.github.com/repos/wikimedia/mediawiki-extensions-Popups/commits/7967ab77ee56687b764b2b7ee08e52cd609c3657"}]}
{"actor":{"display_login":"wmfgerrit"}}