ResourceLoaderImage: Point to the right skin when generating URL
authorBartosz Dziewoński <matma.rex@gmail.com>
Fri, 17 Mar 2017 01:10:47 +0000 (02:10 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Fri, 17 Mar 2017 02:30:23 +0000 (03:30 +0100)
commit37c5a5a1aee7bf130bfc2ba034ea4ca8de7dfdb4
treebd6dcc6025a4a6e66ae30d34932fe93f4d2d604b
parent5af0c8f2be29f6a54a33988a57fdddc7cc366d86
ResourceLoaderImage: Point to the right skin when generating URL

Previously, in skins using non-default OOUI theme (for example,
in MonoBook skin which uses Apex theme), when using a browser that
we don't serve SVG images to (for example, Internet Explorer 8),
the user would see the default theme's icons. This is noticeable
e.g. with the search box's icon on Special:Search.

Change-Id: I5a563c59efb267d8080161271513c0cc7d90d610
includes/resourceloader/ResourceLoaderImage.php