From d448eca84ff5d71d16d4c281ca7010020467983a Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sat, 16 Aug 2008 22:06:28 +0000 Subject: [PATCH] Follow up on r39503. Add li.odd to common style sheet. --- RELEASE-NOTES | 4 ++-- includes/DefaultSettings.php | 2 +- skins/common/shared.css | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index bc7d928ec9..c8ade868bb 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -88,8 +88,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN Show/Hide logged in users, Show/Hide anonymous, Invert namespace selection * Added hook 'UserrightsChangeableGroups' to allow modification of what groups may be added or removed via the Special:UserRights interface. -* (bug 14468) Lines in classic RecentChanges and Watchlist have classes "odd" - and "even" to make colouring using css possible. +* (bug 14468) Lines in classic RecentChanges and Watchlist have alternating + background colours based on classes "odd" and "even". === Bug fixes in 1.14 === diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 7d3489a8d8..be75dc1cec 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1382,7 +1382,7 @@ $wgCacheEpoch = '20030516000000'; * to ensure that client-side caches don't keep obsolete copies of global * styles. */ -$wgStyleVersion = '165'; +$wgStyleVersion = '166'; # Server-side caching: diff --git a/skins/common/shared.css b/skins/common/shared.css index d42fc1c0df..17a9b2a8e3 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -247,3 +247,8 @@ h4.mw-specialpagesgroup { #shared-image-dup, #shared-image-conflict { font-style: italic; } + +/* Alternating background colours on Watchlist and RecentChanges */ +li.odd { + background-color: #e8e8e8 +} -- 2.20.1