Page MenuHomePhabricator

MediaWiki:Vector-no-language-button-label reads "Add languages" even on wikis where this functionality is not available
Open, LowPublic

Description

MediaWiki:Vector-no-language-button-label has no sense on projects that are not connected to Wikidata (like Wiktionary in main namespace) or on some specific namespace like MediaWiki or talk pages. I think that it should be reformulated 'Not in other languages' in this case.

Example URL: https://de.wiktionary.org/wiki/Absturzexperte?useskin=vector-2022&uselang=en

Event Timeline

@XANA000 How does this impact users? Where to see this in action / what are clear steps to reproduce (including URLs)?

Well when one sees a link where it is written 'Add languages' but when one clicks, it shows just language settings:

Screenshot 2024-04-23 at 14-36-55 bäna — Wiktionnaire le dictionnaire libre.png (492×1 px, 67 KB)

which is different on namespaces / projects that are connected to wikidata:

image.png (351×1 px, 55 KB)

Hi, could you please provide URLs as requested before?

TTO renamed this task from MediaWiki:Vector-no-language-button-label to MediaWiki:Vector-no-language-button-label reads "Add languages" even on wikis where this functionality is not available.Apr 23 2024, 12:51 PM
TTO updated the task description. (Show Details)

Hi, could you please provide URLs as requested before?

See the description. The Wiktionaries are linked to Wikidata in such a way that it's not possible to "add languages" to main-namespace entries, no matter what user rights you have. So there should never be an "Add languages" call to action on these wikis. English Wiktionary has worked around this by replacing the relevant system message with a {{#switch:...}} parser function to display a different message in different namespaces, but a change should be made in core Wikidata code.

  NODES
Note 1
Project 7
USERS 1