r82011 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82010‎ | r82011 | r82012 >
Date:10:38, 12 February 2011
Author:aaron
Status:deferred
Tags:
Comment:
* Follow-up r81879: added single quotes to relative CSS url()...RL seems to need these to correct the path
*Embed CSS images using RL
Modified paths:
  • /trunk/extensions/FlaggedRevs/client/flaggedrevs.css (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/client/flaggedrevs.css
@@ -85,19 +85,24 @@
8686 }
8787
8888 .fr-marker-20 {
89 - background-image: url(img/bar_20.png);
 89+ /* @embed */
 90+ background-image: url('img/bar_20.png');
9091 }
9192 .fr-marker-40 {
92 - background-image: url(img/bar_40.png);
 93+ /* @embed */
 94+ background-image: url('img/bar_40.png');
9395 }
9496 .fr-marker-60 {
95 - background-image: url(img/bar_60.png);
 97+ /* @embed */
 98+ background-image: url('img/bar_60.png');
9699 }
97100 .fr-marker-80 {
98 - background-image: url(img/bar_80.png);
 101+ /* @embed */
 102+ background-image: url('img/bar_80.png');
99103 }
100104 .fr-marker-100 {
101 - background-image: url(img/bar_100.png);
 105+ /* @embed */
 106+ background-image: url('img/bar_100.png');
102107 }
103108
104109 /* Short User Interface */
@@ -160,19 +165,24 @@
161166 }
162167
163168 .fr-value20 {
164 - background-image: url(img/fr-marker-20.png);
 169+ /* @embed */
 170+ background-image: url('img/fr-marker-20.png');
165171 }
166172 .fr-value40 {
167 - background-image: url(img/fr-marker-40.png);
 173+ /* @embed */
 174+ background-image: url('img/fr-marker-40.png');
168175 }
169176 .fr-value60 {
170 - background-image: url(img/fr-marker-60.png);
 177+ /* @embed */
 178+ background-image: url('img/fr-marker-60.png');
171179 }
172180 .fr-value80 {
173 - background-image: url(img/fr-marker-80.png);
 181+ /* @embed */
 182+ background-image: url('img/fr-marker-80.png');
174183 }
175184 .fr-value100 {
176 - background-image: url(img/fr-marker-100.png);
 185+ /* @embed */
 186+ background-image: url('img/fr-marker-100.png');
177187 }
178188
179189 /* Both User Interfaces */

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r81879* Converted JS/CSS loading and localization with JS to use ResourceLoader...aaron09:35, 10 February 2011

Status & tagging log