Page MenuHomePhabricator

Interwiki links to other languages doesn't use the corresponding font
Closed, ResolvedPublic

Description

Author: hkytrewq

Description:
In the "languages" box in the left column, those interwiki links are rendered with font-family specified according to the language of the page instead of that of the class. For example, in the English Wikipedia, the font of the interwiki link to the Japanese Wikipedia, whose class is "interwiki-ja", is determined by "font.name.sans-serif.x-western" in "about:config" when browsing with latest release of Firefox. It would be more "make sense" if the font of the link whose class is "interwiki-xx" (xx is a language code) is determined by "font.name.sans-serif.xx".

I think that this may be due to lack of 'lang="xx" xml:lang="xx"' in the html tag.


Version: 1.12.x
Severity: enhancement

Details

Reference
bz13867

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:13 PM
bzimport set Reference to bz13867.
bzimport added a subscriber: Unknown Object (MLST).

public.wiki wrote:

A solution is adding "lang=xx" to <li> tags.

For example,

Now: <LI class=interwiki-en><A href="http://en.wikipedia.org/wiki/">English</A>

Solution:<LI class=interwiki-en lang=en><A href="http://en.wikipedia.org/wiki/">English</A>

Component: Page rendering -> i18n

  • This bug has been marked as a duplicate of bug 4901 ***