Remove Persian from link underlining removal
authorEbrahim Byagowi <ebrahim@gnu.org>
Wed, 24 Jul 2013 14:47:29 +0000 (14:47 +0000)
committerNikerabbit <niklas.laxstrom@gmail.com>
Sat, 27 Jul 2013 18:49:30 +0000 (18:49 +0000)
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

index 7b4b668..bda8653 100644 (file)
@@ -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'] ) {