Matthias Mullie has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/118450

Change subject: Add selector for Parsoid-output external links
......................................................................

Add selector for Parsoid-output external links

Parsoid output does not include a class="external" for external links, but has
a rel="mw:ExtLink"

Bug: 56756
Change-Id: I08596b13bbe1a41a4e63effd97c852c0d2cecd21
---
M print.css
M screen.css
2 files changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Nostalgia 
refs/changes/50/118450/1

diff --git a/print.css b/print.css
index ab7a781..6a674a2 100644
--- a/print.css
+++ b/print.css
@@ -6,6 +6,7 @@
 /* MSIE/Win doesn't understand 'inherit' */
 a,
 a.external,
+a[rel="mw:ExtLink"],
 a.new,
 a.stub {
        color: black !important;
@@ -18,6 +19,7 @@
 /* Continue ... */
 a,
 a.external,
+a[rel="mw:ExtLink"],
 a.new,
 a.stub {
        color: inherit !important;
diff --git a/screen.css b/screen.css
index aed5715..04b264b 100644
--- a/screen.css
+++ b/screen.css
@@ -19,6 +19,7 @@
 }
 
 a.interwiki,
+a[rel="mw:ExtLink"],
 a.external {
        color: #3366BB;
 }

-- 
To view, visit https://gerrit.wikimedia.org/r/118450
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I08596b13bbe1a41a4e63effd97c852c0d2cecd21
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Nostalgia
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <mmul...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to