Ebrahim has uploaded a new change for review.

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


Change subject: Opt-out Persian from links underline removal
......................................................................

Opt-out Persian from links underline removal

There was a discussion 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

Change-Id: I8168baff1b9e64d0c79dcd7a896b9cbeeed0b266
---
M includes/resourceloader/ResourceLoaderUserCSSPrefsModule.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/70/75570/1

diff --git a/includes/resourceloader/ResourceLoaderUserCSSPrefsModule.php 
b/includes/resourceloader/ResourceLoaderUserCSSPrefsModule.php
index 7b4b668..bda8653 100644
--- a/includes/resourceloader/ResourceLoaderUserCSSPrefsModule.php
+++ b/includes/resourceloader/ResourceLoaderUserCSSPrefsModule.php
@@ -71,7 +71,7 @@
                                ( $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'] ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8168baff1b9e64d0c79dcd7a896b9cbeeed0b266
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Ebrahim <ebra...@byagowi.com>

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

Reply via email to