Page MenuHomePhabricator

simplified Minerva toolbelt - the Language counter displays count for artciles with no interlanguage links
Closed, ResolvedPublicBUG REPORT

Description

The issue is present no enwiki wmf.15 and enwiki beta - the Steps below will have links for both environments.
Steps to replicate the issue :

  • Find an article that doesn't exist in otherUsing the flag ?minMinToolbar=1 , for example

What happens?:
The minimized toolbelt lang counter displays the interlanguage count as one even though an article doesn't lave any interlanguage links

What should have happened instead?:
If an article doesn't have interlanguage links, the counter should not display any count

Event Timeline

Let's maintain current behavior, see https://en.wikipedia.org/wiki/Pan_Dee_and_Pan_Dah. Use "add language" button for single language case.

Change #1327636 had a related patch set uploaded (by Elliottetzkorn; author: Elliottetzkorn):

[mediawiki/skins/MinervaNeue@master] [MinMin] Do not display language count badge for 0 languages

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

Test wiki created on Patch demo by KSarabia-WMF using patch(es) linked to this task:
https://88fad425eb.catalyst.wmcloud.org/w/

Change #1327636 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] [MinMin] Do not display language count badge for 0 languages

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

Change #1329386 had a related patch set uploaded (by Kimberly Sarabia; author: Elliottetzkorn):

[mediawiki/skins/MinervaNeue@wmf/1.47.0-wmf.17] [MinMin] Do not display language count badge for 0 languages

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

Change #1329386 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@wmf/1.47.0-wmf.17] [MinMin] Do not display language count badge for 0 languages

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

Mentioned in SAL (#wikimedia-operations) [2026-08-26T07:07:09Z] <mlitn@deploy1003> Started scap sync-world: Backport for [[gerrit:1329386|[MinMin] Do not display language count badge for 0 languages (T435249)]]

Mentioned in SAL (#wikimedia-operations) [2026-08-26T07:09:47Z] <mlitn@deploy1003> mlitn, ksarabia: Backport for [[gerrit:1329386|[MinMin] Do not display language count badge for 0 languages (T435249)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-08-26T07:15:58Z] <mlitn@deploy1003> Finished scap sync-world: Backport for [[gerrit:1329386|[MinMin] Do not display language count badge for 0 languages (T435249)]] (duration: 08m 49s)

Test wiki on Patch demo by KSarabia-WMF using patch(es) linked to this task was deleted by Catalyst admin via Cron DeleteExpiredWikis:

https://88fad425eb.catalyst.wmcloud.org/w/