Page MenuHomePhabricator

Compact language list doesn't work on Main Page when {{noexternallanglinks}} is used
Open, Needs TriagePublicBUG REPORT


List of steps to reproduce (step by step, including full links if applicable):

  • Enable "ext-uls-compact-language-links-preference" option in preference (preferred in global setting)
  • Visit Main Page of a random Wikipedia project.

What happens?:
Language link is not shown in compact view.

What should have happened instead?:
It should be.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
1.38.0-wmf.25 (2b818a6)

Event Timeline

On which wiki?

And with which skin?

Aklapper changed the task status from Open to Stalled.Mar 15 2022, 7:53 AM

@Stang: Please see "including full links" in the template above - thanks.

Stang changed the task status from Stalled to Open.Mar 15 2022, 11:18 AM
Stang updated the task description. (Show Details)


Yeah, so it's not on all random Wikimedia projects, but only on those that use the {{noexternallanglinks}} magic word to customize the list of languages shown.

This magic word is used on some main pages, but not all. The community of editors decides whether to use it or not. For example, it's not used in the French Wikipedia main page, so you do see Compact Language Links there.

At the moment, this is by design. For all kinds of technical reasons, back when Compact Language Links were deployed four years ago, there was no good way to use both Compact Language Links and the customized list of languages together on the same page.

I am not closing this as "Declined", however. This causes some problems (this little bug comment is too small to list them all...), and this should be changed some day, but for now this is intentional. I happen to be writing a proposal to change this some time soon.

Aklapper renamed this task from Compact language list doesn't work on Main Page to Compact language list doesn't work on Main Page when {{noexternallanglinks}} is used.Mar 15 2022, 12:49 PM