From: Ebrahim Byagowi Date: Wed, 24 Jul 2013 14:47:29 +0000 (+0000) Subject: Remove Persian from link underlining removal X-Git-Tag: 1.31.0-rc.0~19099^2 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=16f849e7d7f844cd1f27705b586f69a357ee92ca;p=lhc%2Fweb%2Fwiklou.git 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 --- 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'] ) {