Page MenuHomePhabricator

Grey ContentTranslate link to from
Open, NormalPublic


If I go to there is a greyed out link "norsk" under other languages telling me I can translate the page from "norsk" to "norsk" (presumably bokmål to bokmål).

Event Timeline

Unhammer created this task.Mar 18 2016, 8:29 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 18 2016, 8:29 AM
Unhammer added a comment.EditedMar 18 2016, 8:29 AM

From, shows link to "norsk"

Unhammer added a comment.EditedMar 18 2016, 8:31 AM

Any reference to should probably specify "norsk (bokmål)" or something, since there are two "norsk" wikis ("norsk" is ambiguous between "norsk (bokmål)" and "norsk (nynorsk)").

Unhammer updated the task description. (Show Details)Mar 18 2016, 8:38 AM

Also, from, shows links to both "norsk" and "norsk (bokmål)"

Unhammer updated the task description. (Show Details)Mar 18 2016, 8:40 AM

Hmm, we had a few bugs like this in the past, and I was pretty sure that I fixed them.

I cannot reproduce this one, but it very much depends on your local environment.

Can you please provide the following:

  • Your browser version, OS
  • OS locale
  • Browser locale (the language of the menus)
  • The preferred languages list int he browser's settings
  • The "Accept Language" value that you see when you go to
  • The value that you see if you run mw.uls.getFrequentLanguageList() in the browser console

Hope it's not too overwhelming ;)

Amire80 triaged this task as Normal priority.Mar 19 2016, 10:22 AM
Amire80 added a project: WorkType-Maintenance.
Amire80 moved this task from Needs Triage to CX9 candidates on the ContentTranslation board.

Oh, that's interesting, on one of my computers I don't see the "norsk" from those pages.

Both computers are running Ubuntu 15.10 and both say

$ apt-cache policy firefox
  Installert: 45.0+build2-0ubuntu0.15.10.1
  Kandidat:   45.0+build2-0ubuntu0.15.10.1
 *** 45.0+build2-0ubuntu0.15.10.1 0
        500 wily-updates/main amd64 Packages
        500 wily-security/main amd64 Packages
        100 /var/lib/dpkg/status
     41.0.2+build2-0ubuntu1 0
        500 wily/main amd64 Packages
$ echo $LANG

Preferred languages in Firefox on both computers, from top to bottom: nn-no, nn, no-no, no, nb-no, nb, en-us, en

But here comes the difference, from :
Accept Language on working computer: en-US,en;q=0.5
Accept Language non-working computer: nn-NO,nn;q=0.9,no-NO;q=0.8,no;q=0.6,nb-NO;q=0.5,nb;q=0.4,en-US;q=0.3,en;q=0.1

From what page should mw.uls.getFrequentLanguageList() work?

Is this still reproducible? We made some big fixes to how language codes are handled, so this should be fixed by now.

Restricted Application added subscribers: jeblad, Danmichaelo. · View Herald TranscriptJun 26 2018, 6:41 PM