Amire80 has uploaded a new change for review.

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

Change subject: Replace parentheses with pipe in the language list
......................................................................

Replace parentheses with pipe in the language list

Currently the article name is put in parentheses in the language list.
This is problematic for several reasons:
1. Different languages use parentheses differently - different meaning,
   different spacing, different unicode characters, etc.
2. In RTL wikis this breaks in a major way. For an example see:
   https://he.m.wikipedia.org/wiki/ASCII#/languages
3. Many article names have parentheses in their names, such as
   [[Georgia (country)]].

This commit resolves most of these issues in a simple way by
removing the parentheses and adding a pipe character to separate
the language name and the article title. This should be generic
enough to show in all languages.

This doesn't resolve all RTL issues in the language list,
but it does remove the most notable one.

Change-Id: I712b629da95400432ab3f02d7efbad7dd6c38556
---
M templates/modules/languages/LanguageOverlay.html
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/12/127612/1

diff --git a/templates/modules/languages/LanguageOverlay.html 
b/templates/modules/languages/LanguageOverlay.html
index e8d2516..534c352 100644
--- a/templates/modules/languages/LanguageOverlay.html
+++ b/templates/modules/languages/LanguageOverlay.html
@@ -18,7 +18,7 @@
 <ul class="page-list">
        {{#languages}}
                <li {{#preferred}}class="preferred"{{/preferred}}>
-                       <a href="{{url}}" hreflang="{{lang}}" 
lang="{{lang}}"><span>{{langname}}</span>{{#*}} ({{*}}){{/*}}</a>
+                       <a href="{{url}}" hreflang="{{lang}}" 
lang="{{lang}}"><span>{{langname}}</span>{{#*}} | {{*}}{{/*}}</a>
                </li>
        {{/languages}}
 </ul>

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I712b629da95400432ab3f02d7efbad7dd6c38556
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Amire80 <amir.ahar...@mail.huji.ac.il>

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

Reply via email to