mediawiki.legacy.common: don't embed legacy images
authorOri Livneh <ori@wikimedia.org>
Sat, 15 Aug 2015 03:53:23 +0000 (20:53 -0700)
committerOri Livneh <ori@wikimedia.org>
Sat, 15 Aug 2015 19:11:09 +0000 (12:11 -0700)
commit8412e1a52e52cf9f33a9de5a80ffc0a35a62087d
treed5cb8da3912e16f72246381341634176e555b857
parentd51317ccc24940b77f4f7226d9455c801c09b457
mediawiki.legacy.common: don't embed legacy images

This drops the /* @embed */ directive for the images referenced by the
mediawiki.legacy.common stylesheet. The images themselves and the styles which
apply them remain. They will simply not be pre-loaded as data URIs within the
stylesheet, which is fantastic because mediawiki.legacy.common is top-loaded on
all pages and embedded images make up nearly half of its weight. With this
change, the gzipped size of mediawiki.legacy.common drops from 27.6k to 15.6k.

Affected classes:

* `.mw-icon-question`: Used for tooltips generated by Preferences::getOptionFromUser.
* `.mw-help-field-hint`: Not in use since I8e092e9d.
* `.mw-small-spinner`: Not in use since I2a2556a0.
* `.mw-ajax-loader`: Not in use.

Change-Id: I6c7e592a502ae14b9f81165f10a1d4240e592649
resources/src/mediawiki.legacy/shared.css