aboutsummaryrefslogtreecommitdiffstats
path: root/includes/resourceloader
diff options
context:
space:
mode:
authorEbrahim Byagowi <ebrahim@gnu.org>2013-07-24 14:47:29 +0000
committerNikerabbit <niklas.laxstrom@gmail.com>2013-07-27 18:49:30 +0000
commit16f849e7d7f844cd1f27705b586f69a357ee92ca (patch)
treef26a79b8d399159a349e9a16274329f21c359ad2 /includes/resourceloader
parente617dc6c8f2ce1d867ddadcd4bc3de098a84ff07 (diff)
downloadmediawikicore-16f849e7d7f844cd1f27705b586f69a357ee92ca.tar.gz
mediawikicore-16f849e7d7f844cd1f27705b586f69a357ee92ca.zip
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
Diffstat (limited to 'includes/resourceloader')
-rw-r--r--includes/resourceloader/ResourceLoaderUserCSSPrefsModule.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/resourceloader/ResourceLoaderUserCSSPrefsModule.php b/includes/resourceloader/ResourceLoaderUserCSSPrefsModule.php
index 7b4b668de367..bda865390ba0 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'] ) {