Html::srcSet: allow density to be specified either with or without trailing 'x'
authorOri Livneh <ori@wikimedia.org>
Fri, 3 Apr 2015 23:17:13 +0000 (16:17 -0700)
committerOri.livneh <ori@wikimedia.org>
Sun, 5 Apr 2015 05:22:47 +0000 (05:22 +0000)
$wgLogoHD is meant to contain high-density alternatives for $wgLogo, but its
keys include the trailing 'x' (e.g., '1.5x'), making it unusable with
Html::srcSet(). Fix that by normalizing all density values to have a
single trailing 'x'.

Change-Id: I62cc3a9e4aeff3a7cb102de2965b8b40fd106c37


No differences found