r65965 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65964‎ | r65965 | r65966 >
Date:21:42, 5 May 2010
Author:tparscal
Status:ok
Tags:
Comment:
Added versions to the URLs of all images in the Vector skin.
Modified paths:
  • /trunk/phase3/includes/DefaultSettings.php (modified) (history)
  • /trunk/phase3/skins/vector/main-ltr.css (modified) (history)
  • /trunk/phase3/skins/vector/main-rtl.css (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/vector/main-ltr.css
@@ -25,13 +25,13 @@
2626 }
2727 body {
2828 background-color: #f3f3f3;
29 - background-image: url(images/page-base.png);
 29+ background-image: url(images/page-base.png?1);
3030 }
3131 /* Content */
3232 #content {
3333 margin-left: 10em;
3434 padding: 1em;
35 - background-image: url(images/border.png);
 35+ background-image: url(images/border.png?1);
3636 background-position: top left;
3737 background-repeat: repeat-y;
3838 background-color: white;
@@ -41,7 +41,7 @@
4242 #page-base {
4343 height: 5em;
4444 background-color: white;
45 - background-image: url(images/page-fade.png);
 45+ background-image: url(images/page-fade.png?1);
4646 background-position: bottom left;
4747 background-repeat: repeat-x;
4848 }
@@ -49,7 +49,7 @@
5050 margin-top: -5em;
5151 margin-left: 10em;
5252 height: 5em;
53 - background-image: url(images/border.png);
 53+ background-image: url(images/border.png?1);
5454 background-position: bottom left;
5555 background-repeat: repeat-x;
5656 }
@@ -113,7 +113,7 @@
114114 float: left;
115115 }
116116 div.vectorTabs {
117 - background-image: url(images/tab-break.png);
 117+ background-image: url(images/tab-break.png?1);
118118 background-position: bottom left;
119119 background-repeat: no-repeat;
120120 padding-left: 1px;
@@ -140,7 +140,7 @@
141141 margin: 0;
142142 padding: 0;
143143 background-color: #f3f3f3;
144 - background-image: url(images/tab-normal-fade.png);
 144+ background-image: url(images/tab-normal-fade.png?1);
145145 background-position: bottom left;
146146 background-repeat: repeat-x;
147147 white-space:nowrap;
@@ -150,7 +150,7 @@
151151 display: block;
152152 }
153153 div.vectorTabs li.selected {
154 - background-image: url(images/tab-current-fade.png);
 154+ background-image: url(images/tab-current-fade.png?1);
155155 }
156156 /* OVERRIDDEN BY COMPLIANT BROWSERS */
157157 div.vectorTabs li a {
@@ -158,7 +158,7 @@
159159 height: 2.5em;
160160 padding-left: 0.4em;
161161 padding-right: 0.4em;
162 - background-image: url(images/tab-break.png);
 162+ background-image: url(images/tab-break.png?1);
163163 background-position: bottom right;
164164 background-repeat: no-repeat;
165165 }
@@ -203,7 +203,7 @@
204204 div.vectorMenu {
205205 direction: ltr;
206206 float: left;
207 - background-image: url(images/arrow-down-icon.png);
 207+ background-image: url(images/arrow-down-icon.png?1);
208208 background-position: 100% 60%;
209209 background-repeat: no-repeat;
210210 cursor: pointer;
@@ -216,7 +216,7 @@
217217 /* @noflip */
218218 #head div.vectorMenu h5 {
219219 float: left;
220 - background-image: url(images/tab-break.png);
 220+ background-image: url(images/tab-break.png?1);
221221 background-repeat: no-repeat;
222222 }
223223 /* IGNORED BY IE6 */
@@ -243,7 +243,7 @@
244244 width: 24px;
245245 height: 2.5em;
246246 text-decoration: none;
247 - background-image: url(images/tab-break.png);
 247+ background-image: url(images/tab-break.png?1);
248248 background-repeat: no-repeat;
249249 }
250250 div.vectorMenu h5 a{
@@ -350,7 +350,7 @@
351351 position: relative;
352352 border: solid 1px #AAAAAA;
353353 background-color: white;
354 - background-image: url(images/search-fade.png);
 354+ background-image: url(images/search-fade.png?1);
355355 background-position: top left;
356356 background-repeat: repeat-x;
357357 }
@@ -376,7 +376,7 @@
377377 border: none;
378378 cursor: pointer;
379379 background-color: transparent;
380 - background-image: url(images/search-ltr.png);
 380+ background-image: url(images/search-ltr.png?1);
381381 background-position: center center;
382382 background-repeat: no-repeat;
383383 }
@@ -409,7 +409,7 @@
410410 margin: 0;
411411 padding-top: 0.5em;
412412 margin-left: 1.25em;
413 - background-image: url(images/portal-break.png);
 413+ background-image: url(images/portal-break.png?1);
414414 background-repeat: no-repeat;
415415 background-position: top left;
416416 }
@@ -439,7 +439,7 @@
440440 margin-left: 10em;
441441 margin-top: 0;
442442 padding: 0.75em;
443 - background-image: url(images/border.png);
 443+ background-image: url(images/border.png?1);
444444 background-position: top left;
445445 background-repeat: repeat-x;
446446 }
@@ -510,7 +510,7 @@
511511 clear: both;
512512 margin: 0 !important;
513513 padding: 0 !important;
514 - background-image: url(images/preferences-break.png);
 514+ background-image: url(images/preferences-break.png?1);
515515 background-position: bottom left;
516516 background-repeat: no-repeat;
517517 }
@@ -524,7 +524,7 @@
525525 white-space: nowrap;
526526 list-style-type: none;
527527 list-style-image: none;
528 - background-image: url(images/preferences-break.png);
 528+ background-image: url(images/preferences-break.png?1);
529529 background-position: bottom right;
530530 background-repeat: no-repeat;
531531 }
@@ -546,7 +546,7 @@
547547 text-decoration: underline;
548548 }
549549 #preftoc li.selected a {
550 - background-image: url(images/preferences-fade.png);
 550+ background-image: url(images/preferences-fade.png?1);
551551 background-position: bottom;
552552 background-repeat: repeat-x;
553553 color: #333333;
@@ -560,7 +560,7 @@
561561 clear: both;
562562 border: solid 1px #cccccc;
563563 background-color: #f9f9f9;
564 - background-image: url(images/preferences-base.png);
 564+ background-image: url(images/preferences-base.png?1);
565565 }
566566 #preferences fieldset.prefsection {
567567 border: none;
@@ -735,7 +735,7 @@
736736 list-style-type: square;
737737 margin: .3em 0 0 1.5em;
738738 padding: 0;
739 - list-style-image: url(images/bullet-icon.png);
 739+ list-style-image: url(images/bullet-icon.png?1);
740740 }
741741 ol {
742742 line-height: 1.5em;
@@ -993,32 +993,32 @@
994994 }
995995 #content a.external,
996996 #content a[href ^="gopher://"] {
997 - background: url(images/external-link-ltr-icon.png) center right no-repeat;
 997+ background: url(images/external-link-ltr-icon.png?1) center right no-repeat;
998998 padding: 0 13px 0 0;
999999 }
10001000 #content a[href ^="https://"],
10011001 .link-https {
1002 - background: url(images/lock-icon.png) center right no-repeat;
 1002+ background: url(images/lock-icon.png?1) center right no-repeat;
10031003 padding: 0 18px 0 0;
10041004 }
10051005 #content a[href ^="mailto:"],
10061006 .link-mailto {
1007 - background: url(images/mail-icon.png) center right no-repeat;
 1007+ background: url(images/mail-icon.png?1) center right no-repeat;
10081008 padding: 0 18px 0 0;
10091009 }
10101010 #content a[href ^="news://"] {
1011 - background: url(images/news-icon.png) center right no-repeat;
 1011+ background: url(images/news-icon.png?1) center right no-repeat;
10121012 padding: 0 18px 0 0;
10131013 }
10141014 #content a[href ^="ftp://"],
10151015 .link-ftp {
1016 - background: url(images/file-icon.png) center right no-repeat;
 1016+ background: url(images/file-icon.png?1) center right no-repeat;
10171017 padding: 0 18px 0 0;
10181018 }
10191019 #content a[href ^="irc://"],
10201020 #content a.extiw[href ^="irc://"],
10211021 .link-irc {
1022 - background: url(images/talk-icon.png) center right no-repeat;
 1022+ background: url(images/talk-icon.png?1) center right no-repeat;
10231023 padding: 0 18px 0 0;
10241024 }
10251025 #content a.external[href $=".ogg"], #content a.external[href $=".OGG"],
@@ -1063,7 +1063,7 @@
10641064 #pt-userpage,
10651065 #pt-anonuserpage,
10661066 #pt-login {
1067 - background: url(images/user-icon.png) left top no-repeat;
 1067+ background: url(images/user-icon.png?1) left top no-repeat;
10681068 padding-left: 15px !important;
10691069 text-transform: none;
10701070 }
@@ -1100,24 +1100,24 @@
11011101 height: 2.5em;
11021102 }
11031103 #ca-unwatch.icon a {
1104 - background-image: url(images/watch-icons.png);
 1104+ background-image: url(images/watch-icons.png?1);
11051105 background-position: -43px 60%;
11061106 }
11071107 #ca-watch.icon a {
1108 - background-image: url(images/watch-icons.png);
 1108+ background-image: url(images/watch-icons.png?1);
11091109 background-position: 5px 60%;
11101110 }
11111111 #ca-unwatch.icon a:hover {
1112 - background-image: url(images/watch-icons.png);
 1112+ background-image: url(images/watch-icons.png?1);
11131113 background-position: -67px 60%;
11141114 }
11151115 #ca-watch.icon a:hover {
1116 - background-image: url(images/watch-icons.png);
 1116+ background-image: url(images/watch-icons.png?1);
11171117 background-position: -19px 60%;
11181118 }
11191119 #ca-unwatch.icon a.loading,
11201120 #ca-watch.icon a.loading {
1121 - background-image: url(images/watch-icon-loading.gif);
 1121+ background-image: url(images/watch-icon-loading.gif?1);
11221122 background-position: center 60%;
11231123 }
11241124 #ca-unwatch.icon a span,
@@ -1125,7 +1125,7 @@
11261126 display: none;
11271127 }
11281128 div.vectorTabs ul {
1129 - background-image:url(images/tab-break.png);
 1129+ background-image:url(images/tab-break.png?1);
11301130 background-position:right bottom;
11311131 background-repeat:no-repeat;
11321132 }
\ No newline at end of file
Index: trunk/phase3/skins/vector/main-rtl.css
@@ -25,13 +25,13 @@
2626 }
2727 body {
2828 background-color: #f3f3f3;
29 - background-image: url(images/page-base.png);
 29+ background-image: url(images/page-base.png?1);
3030 }
3131 /* Content */
3232 #content {
3333 margin-right: 10em;
3434 padding: 1em;
35 - background-image: url(images/border.png);
 35+ background-image: url(images/border.png?1);
3636 background-position: top right;
3737 background-repeat: repeat-y;
3838 background-color: white;
@@ -41,7 +41,7 @@
4242 #page-base {
4343 height: 5em;
4444 background-color: white;
45 - background-image: url(images/page-fade.png);
 45+ background-image: url(images/page-fade.png?1);
4646 background-position: bottom right;
4747 background-repeat: repeat-x;
4848 }
@@ -49,7 +49,7 @@
5050 margin-top: -5em;
5151 margin-right: 10em;
5252 height: 5em;
53 - background-image: url(images/border.png);
 53+ background-image: url(images/border.png?1);
5454 background-position: bottom right;
5555 background-repeat: repeat-x;
5656 }
@@ -113,7 +113,7 @@
114114 float: left;
115115 }
116116 div.vectorTabs {
117 - background-image: url(images/tab-break.png);
 117+ background-image: url(images/tab-break.png?1);
118118 background-position: bottom right;
119119 background-repeat: no-repeat;
120120 padding-right: 1px;
@@ -140,7 +140,7 @@
141141 margin: 0;
142142 padding: 0;
143143 background-color: #f3f3f3;
144 - background-image: url(images/tab-normal-fade.png);
 144+ background-image: url(images/tab-normal-fade.png?1);
145145 background-position: bottom right;
146146 background-repeat: repeat-x;
147147 white-space:nowrap;
@@ -150,7 +150,7 @@
151151 display: block;
152152 }
153153 div.vectorTabs li.selected {
154 - background-image: url(images/tab-current-fade.png);
 154+ background-image: url(images/tab-current-fade.png?1);
155155 }
156156 /* OVERRIDDEN BY COMPLIANT BROWSERS */
157157 div.vectorTabs li a {
@@ -158,7 +158,7 @@
159159 height: 2.5em;
160160 padding-right: 0.4em;
161161 padding-left: 0.4em;
162 - background-image: url(images/tab-break.png);
 162+ background-image: url(images/tab-break.png?1);
163163 background-position: bottom left;
164164 background-repeat: no-repeat;
165165 }
@@ -203,7 +203,7 @@
204204 div.vectorMenu {
205205 direction: ltr;
206206 float: left;
207 - background-image: url(images/arrow-down-icon.png);
 207+ background-image: url(images/arrow-down-icon.png?1);
208208 background-position: 100% 60%;
209209 background-repeat: no-repeat;
210210 cursor: pointer;
@@ -216,7 +216,7 @@
217217 /* @noflip */
218218 #head div.vectorMenu h5 {
219219 float: left;
220 - background-image: url(images/tab-break.png);
 220+ background-image: url(images/tab-break.png?1);
221221 background-repeat: no-repeat;
222222 }
223223 /* IGNORED BY IE6 */
@@ -243,7 +243,7 @@
244244 width: 24px;
245245 height: 2.5em;
246246 text-decoration: none;
247 - background-image: url(images/tab-break.png);
 247+ background-image: url(images/tab-break.png?1);
248248 background-repeat: no-repeat;
249249 }
250250 div.vectorMenu h5 a{
@@ -350,7 +350,7 @@
351351 position: relative;
352352 border: solid 1px #AAAAAA;
353353 background-color: white;
354 - background-image: url(images/search-fade.png);
 354+ background-image: url(images/search-fade.png?1);
355355 background-position: top right;
356356 background-repeat: repeat-x;
357357 }
@@ -376,7 +376,7 @@
377377 border: none;
378378 cursor: pointer;
379379 background-color: transparent;
380 - background-image: url(images/search-rtl.png);
 380+ background-image: url(images/search-rtl.png?1);
381381 background-position: center center;
382382 background-repeat: no-repeat;
383383 }
@@ -409,7 +409,7 @@
410410 margin: 0;
411411 padding-top: 0.5em;
412412 margin-right: 1.25em;
413 - background-image: url(images/portal-break.png);
 413+ background-image: url(images/portal-break.png?1);
414414 background-repeat: no-repeat;
415415 background-position: top right;
416416 }
@@ -439,7 +439,7 @@
440440 margin-right: 10em;
441441 margin-top: 0;
442442 padding: 0.75em;
443 - background-image: url(images/border.png);
 443+ background-image: url(images/border.png?1);
444444 background-position: top right;
445445 background-repeat: repeat-x;
446446 }
@@ -510,7 +510,7 @@
511511 clear: both;
512512 margin: 0 !important;
513513 padding: 0 !important;
514 - background-image: url(images/preferences-break.png);
 514+ background-image: url(images/preferences-break.png?1);
515515 background-position: bottom right;
516516 background-repeat: no-repeat;
517517 }
@@ -524,7 +524,7 @@
525525 white-space: nowrap;
526526 list-style-type: none;
527527 list-style-image: none;
528 - background-image: url(images/preferences-break.png);
 528+ background-image: url(images/preferences-break.png?1);
529529 background-position: bottom left;
530530 background-repeat: no-repeat;
531531 }
@@ -546,7 +546,7 @@
547547 text-decoration: underline;
548548 }
549549 #preftoc li.selected a {
550 - background-image: url(images/preferences-fade.png);
 550+ background-image: url(images/preferences-fade.png?1);
551551 background-position: bottom;
552552 background-repeat: repeat-x;
553553 color: #333333;
@@ -560,7 +560,7 @@
561561 clear: both;
562562 border: solid 1px #cccccc;
563563 background-color: #f9f9f9;
564 - background-image: url(images/preferences-base.png);
 564+ background-image: url(images/preferences-base.png?1);
565565 }
566566 #preferences fieldset.prefsection {
567567 border: none;
@@ -735,7 +735,7 @@
736736 list-style-type: square;
737737 margin: .3em 1.5em 0 0;
738738 padding: 0;
739 - list-style-image: url(images/bullet-icon.png);
 739+ list-style-image: url(images/bullet-icon.png?1);
740740 }
741741 ol {
742742 line-height: 1.5em;
@@ -993,32 +993,32 @@
994994 }
995995 #content a.external,
996996 #content a[href ^="gopher://"] {
997 - background: url(images/external-link-rtl-icon.png) center left no-repeat;
 997+ background: url(images/external-link-rtl-icon.png?1) center left no-repeat;
998998 padding: 0 0 0 13px;
999999 }
10001000 #content a[href ^="https://"],
10011001 .link-https {
1002 - background: url(images/lock-icon.png) center left no-repeat;
 1002+ background: url(images/lock-icon.png?1) center left no-repeat;
10031003 padding: 0 0 0 18px;
10041004 }
10051005 #content a[href ^="mailto:"],
10061006 .link-mailto {
1007 - background: url(images/mail-icon.png) center left no-repeat;
 1007+ background: url(images/mail-icon.png?1) center left no-repeat;
10081008 padding: 0 0 0 18px;
10091009 }
10101010 #content a[href ^="news://"] {
1011 - background: url(images/news-icon.png) center left no-repeat;
 1011+ background: url(images/news-icon.png?1) center left no-repeat;
10121012 padding: 0 0 0 18px;
10131013 }
10141014 #content a[href ^="ftp://"],
10151015 .link-ftp {
1016 - background: url(images/file-icon.png) center left no-repeat;
 1016+ background: url(images/file-icon.png?1) center left no-repeat;
10171017 padding: 0 0 0 18px;
10181018 }
10191019 #content a[href ^="irc://"],
10201020 #content a.extiw[href ^="irc://"],
10211021 .link-irc {
1022 - background: url(images/talk-icon.png) center left no-repeat;
 1022+ background: url(images/talk-icon.png?1) center left no-repeat;
10231023 padding: 0 0 0 18px;
10241024 }
10251025 #content a.external[href $=".ogg"], #content a.external[href $=".OGG"],
@@ -1063,7 +1063,7 @@
10641064 #pt-userpage,
10651065 #pt-anonuserpage,
10661066 #pt-login {
1067 - background: url(images/user-icon.png) right top no-repeat;
 1067+ background: url(images/user-icon.png?1) right top no-repeat;
10681068 padding-right: 15px !important;
10691069 text-transform: none;
10701070 }
@@ -1100,24 +1100,24 @@
11011101 height: 2.5em;
11021102 }
11031103 #ca-unwatch.icon a {
1104 - background-image: url(images/watch-icons.png);
 1104+ background-image: url(images/watch-icons.png?1);
11051105 background-position: -43px 60%;
11061106 }
11071107 #ca-watch.icon a {
1108 - background-image: url(images/watch-icons.png);
 1108+ background-image: url(images/watch-icons.png?1);
11091109 background-position: 5px 60%;
11101110 }
11111111 #ca-unwatch.icon a:hover {
1112 - background-image: url(images/watch-icons.png);
 1112+ background-image: url(images/watch-icons.png?1);
11131113 background-position: -67px 60%;
11141114 }
11151115 #ca-watch.icon a:hover {
1116 - background-image: url(images/watch-icons.png);
 1116+ background-image: url(images/watch-icons.png?1);
11171117 background-position: -19px 60%;
11181118 }
11191119 #ca-unwatch.icon a.loading,
11201120 #ca-watch.icon a.loading {
1121 - background-image: url(images/watch-icon-loading.gif);
 1121+ background-image: url(images/watch-icon-loading.gif?1);
11221122 background-position: center 60%;
11231123 }
11241124 #ca-unwatch.icon a span,
@@ -1125,7 +1125,7 @@
11261126 display: none;
11271127 }
11281128 div.vectorTabs ul {
1129 - background-image:url(images/tab-break.png);
 1129+ background-image:url(images/tab-break.png?1);
11301130 background-position:left bottom;
11311131 background-repeat:no-repeat;
11321132 }
\ No newline at end of file
Index: trunk/phase3/includes/DefaultSettings.php
@@ -1683,7 +1683,7 @@
16841684 * to ensure that client-side caches do not keep obsolete copies of global
16851685 * styles.
16861686 */
1687 -$wgStyleVersion = '275';
 1687+$wgStyleVersion = '276';
16881688
16891689
16901690 # Server-side caching:

Follow-up revisions

RevisionCommit summaryAuthorDate
r659661.16wmf4: MFT r65965catrope21:55, 5 May 2010

Status & tagging log