(bug 5346) Make cats which are redirects italic in category links.
authorBrian Wolff <bawolff+wn@gmail.com>
Thu, 27 Dec 2012 08:24:36 +0000 (04:24 -0400)
committerMatmaRex <matma.rex@gmail.com>
Thu, 31 Jan 2013 21:12:34 +0000 (22:12 +0100)
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
skins/common/shared.css

index b9fdecf..a831310 100644 (file)
@@ -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.
index 34d3357..aa75a2a 100644 (file)
@@ -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
  */