Page MenuHomePhabricator

Show MUL as last language in Termbox if any MUL terms exist
Closed, ResolvedPublic

Description

If there is a Label or Alias for mul on an Item, then that should always be visible in the “in more languages” section of the legacy Termbox, usually as the last row/entry.

The ordering of languages might be affected by the Babel extension if the user also has the respective box on their user page. In that case we're fine with any ordering that results from this, as long as the row for mul is still shown.

Event Timeline

@Manuel Currently we will add languages from ULS for logged out users/ users without babels to the bottom of the box (dynamically in the front end). Should "mul" appear below these or above?

Below these is certainly possible, would just be a bit more tedious to implement (as we want to re-use as much of the server side DOM as possible).

ULS is what I have as geolocation [here](F36845476), correct?
In any case, "mul" should always appear at the bottom, unfortunately.

ULS is what I have as geolocation [here](F36845476), correct?

Yes

In any case, "mul" should always appear at the bottom, unfortunately.

That makes sense, just wanted to check back!

Change 932669 had a related patch set uploaded (by Hoo man; author: Hoo man):

[mediawiki/extensions/Wikibase@master] Add MUL as last language in Termbox if any MUL term exists

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

Change 932671 had a related patch set uploaded (by Hoo man; author: Hoo man):

[mediawiki/extensions/Wikibase@master] Add MUL as last language in Termbox if any MUL term exists

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

Change 932671 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Add MUL as last language in Termbox if any MUL term exists

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

Change 932669 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Add MUL as last language in Termbox if any MUL term exists

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

Hi, thx for the ping! I will verify this after it is deployed on Test Wikidata.

Resolved! \o/

The state is now: Only if there is a Label or Alias for mul on an entity, is the mul line visible in the “in more languages” section of the legacy Termbox. It is always the last entry in the “in more languages” section, independent of Babels.

This perfectly matches all the "During soft rollout" ACs of the parent task T316767.