r12926 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r12925‎ | r12926 | r12927 >
Date:04:44, 1 February 2006
Author:timstarling
Status:old
Tags:
Comment:
Use a.external instead of a[href ^="http://"] to detect external links. This is to support interwiki transclusion with action=render. The protocol-specific rules below still seem to work.
Modified paths:
  • /trunk/phase3/skins/monobook/main.css (modified) (history)

Diff [purge]

Index: trunk/phase3/skins/monobook/main.css
@@ -562,7 +562,7 @@
563563 ** keep the whitespace in front of the ^=, hides rule from konqueror
564564 ** this is css3, the validator doesn't like it when validating as css2
565565 */
566 -#bodyContent a[href ^="http://"],
 566+#bodyContent a.external,
567567 #bodyContent a[href ^="gopher://"] {
568568 background: url(external.png) center right no-repeat;
569569 padding-right: 13px;

Status & tagging log