(bug 4330) External URLs should always be treated as LTR, also in RTL text (CSS fix...
authorRobin Pepermans <robin@users.mediawiki.org>
Wed, 18 May 2011 18:03:06 +0000 (18:03 +0000)
committerRobin Pepermans <robin@users.mediawiki.org>
Wed, 18 May 2011 18:03:06 +0000 (18:03 +0000)
skins/modern/main.css
skins/monobook/main.css
skins/vector/screen.css

index 104e73f..e30a396 100644 (file)
@@ -644,7 +644,11 @@ img.thumbborder {
 #mw_content a.external {
        color: #36b;
 }
-
+/* External URLs should always be treated as LTR (bug 4330) */
+div#content .rtl a.external {
+       direction: ltr;
+       unicode-bidi: embed;
+}
 
 
 .redirectText {
index deb7410..f35b588 100644 (file)
@@ -576,6 +576,11 @@ table.rimage {
 #bodyContent a.external:active {
        color: #b63;
 }
+/* External URLs should always be treated as LTR (bug 4330) */
+div#content .rtl a.external {
+       direction: ltr;
+       unicode-bidi: embed;
+}
 
 /*
 ** Structural Elements
index 5174985..d2c1473 100644 (file)
@@ -1135,6 +1135,11 @@ div#content a.external:visited {
 div#content a.external:active {
        color: #b63;
 }
+/* External URLs should always be treated as LTR (bug 4330) */
+div#content .rtl a.external {
+       direction: ltr;
+       unicode-bidi: embed;
+}
 
 
 div#content .printfooter {