Derk-Jan Hartman wrote this summary and suggestion:

Dear all: due to the switch to HTML5, there might be some changes to the
positioning of inline images. This is often apparent in the templates
which positions a dot on top of a map. The dot might now appear around 5
pixels lower than before. This problem can be fixed by setting in the
style of the parent element of the image: "line-height: 0;"

Examples of fixes follow:
https://en.wikipedia.org/w/index.php?title=Template%3ALocation_map%7E&diff=513691160&oldid=508145691
https://en.wikipedia.org/w/index.php?title=Template%3AGeobox_map&diff=513690913&oldid=509404175
https://en.wikipedia.org/w/index.php?title=Template%3AGeobox2_map&diff=513690761&oldid=412855957

For those interested: this is the particular comment that describes why
in our previous rendering we did NOT have to set this, and why we now
need to set it explicitly:
http://dvcs.w3.org/hg/quirks-mode/raw-file/tip/Overview.html#the-line-height-calculation-quirk



Thanks, DJ!

-- 
Sumana Harihareswara
Engineering Community Manager
Wikimedia Foundation



On 09/06/2012 12:15 PM, Rob Lanphier wrote:
> Forwarded as this is of potentially wider interest.  This may be a
> breaking change for some older bots that haven't been maintained.
> 
> ---------- Forwarded message ----------
> From: Sam Reed <[email protected]>
> Date: Wed, Sep 5, 2012 at 3:06 PM
> Subject: [Wikitech-l] HTML5, it's a coming (again)!
> To: [email protected]
> 
> 
> It's been a long time coming (for the nth time..), but we're scheduling a
> deployment of HTML5 across the Wikimedia cluster [1]. This is set for Monday
> 17th September at 18:00-20:00 UTC [2].
> 
> 
> 
> The intention is to set $wgHtml5 [3] to true everywhere. It's been running
> on MediaWiki.org and our 2 test wikis for quite a while, and other sites
> like translatewiki.net with no issues.
> 
> 
> 
> The intention is to leave it enabled unless it causes major problems. If
> you're running an application that screen scrapes, shame on you; you've had
> enough notice to get it fixed! ;)
> 
> 
> 
> Now is the time to fix up your scripts and programs (where necessary), tell
> your friends!
> 
> 
> 
> 
> 
> Sam
> 
> 
> 
> 
> 
> [1] https://bugzilla.wikimedia.org/show_bug.cgi?id=27478
> 
> [2] http://wikitech.wikimedia.org/view/Software_deployments#Week_of_Sept_17
> 
> [3] https://www.mediawiki.org/wiki/Manual:$wgHtml5
> 
> 
> 
> _______________________________________________
> Wikitech-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> 
> _______________________________________________
> Wikitech-ambassadors mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-ambassadors

_______________________________________________
Wikitech-ambassadors mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-ambassadors

Reply via email to