From f85ec87f8a48d0593d3935361fc773d9a0fe6e37 Mon Sep 17 00:00:00 2001 From: Brian Wolff Date: Thu, 27 Dec 2012 04:24:36 -0400 Subject: [PATCH] (bug 5346) Make cats which are redirects italic in category links. Due to bug 3311, redirects in category namespace don't work. Furthermore they appear blue, and there is no indication anything is wrong. This change makes the link italic to indicate to the user that it is not a normal redirect. Only links in the category links section of the page are affected My only concern with this is potentially italics might not be approrpriate in non-english languages (??). One of the main reasons for italics is that a different colour is a larger departure from current ui where link colours have meaning and we already use italics for redirects on category pages, and special:allpages. Change-Id: I1fba042ca301844b603759c2db2cab28c3297e93 --- RELEASE-NOTES-1.21 | 2 ++ skins/common/shared.css | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/RELEASE-NOTES-1.21 b/RELEASE-NOTES-1.21 index b9fdecfbeb..a831310aba 100644 --- a/RELEASE-NOTES-1.21 +++ b/RELEASE-NOTES-1.21 @@ -86,6 +86,8 @@ production. * Added the ability to limit the wall clock time used by shell processes, as well as the CPU time. Configurable with $wgMaxShellWallClockTime. * Added $wgWhitelistReadRegexp for regex whitelisting +* (bug 5346) Categories that are redirects will be displayed italic in + the category links section at the bottom of a page. === Bug fixes in 1.21 === * (bug 40353) SpecialDoubleRedirect should support interwiki redirects. diff --git a/skins/common/shared.css b/skins/common/shared.css index 34d3357c43..aa75a2ac02 100644 --- a/skins/common/shared.css +++ b/skins/common/shared.css @@ -313,6 +313,11 @@ input#wpSummary { padding-left: 0.25em; border-left: none; } + +/* (bug 5346) make category redirects italic */ +.catlinks li a.mw-redirect { + font-style: italic; +} /** * Hidden categories */ -- 2.20.1