From 560218d6ac2cd81b17a18e57f10055c2402221a5 Mon Sep 17 00:00:00 2001 From: Leon Weber Date: Sun, 4 Mar 2007 20:53:48 +0000 Subject: [PATCH] Finish what I began in r20065. Tested it in all skins and works except in MySkin. I guess this is okay, but I didn't understand yet what MySkin is :) If something's wrong, please feel free to correct it, as I'll be away for some weeks now. --- RELEASE-NOTES | 3 +-- includes/DefaultSettings.php | 2 +- skins/common/common.css | 6 +++++- skins/{monobook => common/images}/Checker-16x16.png | Bin skins/monobook/main.css | 9 ++++++++- skins/simple/main.css | 6 +++++- 6 files changed, 20 insertions(+), 6 deletions(-) rename skins/{monobook => common/images}/Checker-16x16.png (100%) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index a1d3e03a6f..99603d4498 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -229,8 +229,7 @@ lighter making things easier to read. * (bug 8958) Handle search operators better when using tsearch2 (Postgres) * Added rate limiter for Special:Emailuser * Have a checkered background on images on the description pages and in - galeries to make transparency visible (just MonoBook for now, will add the - rest soon). + galeries to make transparency visible. * (bug 7782) Standardisation of file info at image description pages. * (bug 8799) Use redirect table for Special:BrokenRedirects and Special:DoubleRedirects diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index c834a2c961..690d9c2acd 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1117,7 +1117,7 @@ $wgCacheEpoch = '20030516000000'; * to ensure that client-side caches don't keep obsolete copies of global * styles. */ -$wgStyleVersion = '60'; +$wgStyleVersion = '61'; # Server-side caching: diff --git a/skins/common/common.css b/skins/common/common.css index 92b4888375..64a82e375b 100644 --- a/skins/common/common.css +++ b/skins/common/common.css @@ -474,4 +474,8 @@ p.mw-ipb-conveniencelinks { .mw-plusminus-null { color: #aaa; } .texvc { direction: ltr; unicode-bidi: embed; } /* Stop floats from intruding into edit area in previews */ -#toolbar, #wpTextbox1 { clear: both; } \ No newline at end of file +#toolbar, #wpTextbox1 { clear: both; } + +#file img, .gallerybox .thumb img { + background: url(images/Checker-16x16.png) repeat; +} diff --git a/skins/monobook/Checker-16x16.png b/skins/common/images/Checker-16x16.png similarity index 100% rename from skins/monobook/Checker-16x16.png rename to skins/common/images/Checker-16x16.png diff --git a/skins/monobook/main.css b/skins/monobook/main.css index 1a5c2600e6..c48d9e2852 100644 --- a/skins/monobook/main.css +++ b/skins/monobook/main.css @@ -1624,4 +1624,11 @@ p.mw-ipb-conveniencelinks { .mw-plusminus-null { color: #aaa; } .texvc { direction: ltr; unicode-bidi: embed; } /* Stop floats from intruding into edit area in previews */ -#toolbar, #wpTextbox1 { clear: both; } \ No newline at end of file +#toolbar, #wpTextbox1 { clear: both; } + +/* Have a checkered background on images on the description pages and in galleries + to make transparency visible +*/ +#file img, .gallerybox .thumb img { + background: url(../common/images/Checker-16x16.png) repeat; +} diff --git a/skins/simple/main.css b/skins/simple/main.css index 41d0b54706..c22f0b75ce 100644 --- a/skins/simple/main.css +++ b/skins/simple/main.css @@ -445,4 +445,8 @@ table.collapsed tr.collapsable { .mw-plusminus-null { color: #aaa; } .texvc { direction: ltr; unicode-bidi: embed; } /* Stop floats from intruding into edit area in previews */ -#toolbar, #wpTextbox1 { clear: both; } \ No newline at end of file +#toolbar, #wpTextbox1 { clear: both; } + +#file img, .gallerybox .thumb img { + background: url(../common/images/Checker-16x16.png) repeat; +} -- 2.20.1