From 16f849e7d7f844cd1f27705b586f69a357ee92ca Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Wed, 24 Jul 2013 14:47:29 +0000 Subject: [PATCH] Remove Persian from link underlining removal There was a discussion [1] on this on Persian Wikipedia and users don't want it actually. It is such an UI inconsistency and detecting links based on their color is hard. It may have problem on Amiri font but not on System default font and Persian Wikipedia fonts. [1] https://fa.wikipedia.org/wiki/MediaWiki:Common.css?oldid=10552148 Change-Id: I8168baff1b9e64d0c79dcd7a896b9cbeeed0b266 --- includes/resourceloader/ResourceLoaderUserCSSPrefsModule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/resourceloader/ResourceLoaderUserCSSPrefsModule.php b/includes/resourceloader/ResourceLoaderUserCSSPrefsModule.php index 7b4b668de3..bda865390b 100644 --- a/includes/resourceloader/ResourceLoaderUserCSSPrefsModule.php +++ b/includes/resourceloader/ResourceLoaderUserCSSPrefsModule.php @@ -71,7 +71,7 @@ class ResourceLoaderUserCSSPrefsModule extends ResourceLoaderModule { ( $options['underline'] ? 'underline' : 'none' ) . "; }"; } else { # The scripts of these languages are very hard to read with underlines - $rules[] = 'a:lang(ar), a:lang(ckb), a:lang(fa),a:lang(kk-arab), ' . + $rules[] = 'a:lang(ar), a:lang(ckb), a:lang(kk-arab), ' . 'a:lang(mzn), a:lang(ps), a:lang(ur) { text-decoration: none; }'; } if ( $options['justify'] ) { -- 2.20.1