From 1469407248fb9ce7b839f069f953dfd9702157c8 Mon Sep 17 00:00:00 2001 From: Robin Pepermans Date: Mon, 18 May 2009 18:40:18 +0000 Subject: [PATCH] (bug 17399) CSS class for "(top)" on Special:Contributions. Patch by Umherirrender. --- includes/DefaultSettings.php | 2 +- includes/specials/SpecialContributions.php | 2 +- skins/common/shared.css | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index dcc4c0e46c..34106840e1 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1479,7 +1479,7 @@ $wgCacheEpoch = '20030516000000'; * to ensure that client-side caches don't keep obsolete copies of global * styles. */ -$wgStyleVersion = '219'; +$wgStyleVersion = '220'; # Server-side caching: diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index 62ec9c205a..eb7fe7ae5f 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -491,7 +491,7 @@ class ContribsPager extends ReverseChronologicalPager { # Mark current revisions $difftext = $topmarktext = ''; if( $row->rev_id == $row->page_latest ) { - $topmarktext .= '' . $this->messages['uctop'] . ''; ++ $topmarktext .= '' . $this->messages['uctop'] . ''; if( !$row->page_is_new ) { $difftext .= '(' . $sk->makeKnownLinkObj( $page, $this->messages['diff'], 'diff=0' ) . ')'; # Add rollback link diff --git a/skins/common/shared.css b/skins/common/shared.css index 8872ef8b7e..f7946cab16 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -299,6 +299,11 @@ td.os-suggest-result-hl { border: 1px dashed #aaa; } +/* Special:Contributions styling */ +.mw-uctop { + font-weight: bold; +} + /* * Special:ListGroupRights styling * Special:Statistics styling -- 2.20.1