From: Brian Wolff Date: Thu, 27 Dec 2012 08:24:36 +0000 (-0400) Subject: (bug 5346) Make cats which are redirects italic in category links. X-Git-Tag: 1.31.0-rc.0~20837^2 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=f85ec87f8a48d0593d3935361fc773d9a0fe6e37;p=lhc%2Fweb%2Fwiklou.git (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 --- 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 */