Page MenuHomePhabricator

System message nstab-main is ignored as tab label in main namespace and main talk namespace
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Open Special:Randompage on German Wikipedia in any desktop skin.
  • Look at any encyclopedic article in German environment.

What happens?:
Tab text for this article is Seite (=page; the generic name for all unidentified pages).

  • Same on any related talk page.

What should have happened instead?:
Tab text for backlink to this article is Artikel – especially needed if any derived action= rather than view is requested, and the view mode shall be displayed, or to navigate from talk page to article.

Software version
Current MW.

Other information

  • While MediaWiki:nstab-main is set to the legend specific for main namespace within a Wikipedia, this is ignored here. WHY?
  • If appending uselang=qqx to URL the tab text pretends: (nstab-main) – fine.
  • On other namespaces, like Help: or Template: or Category: or Project: or Module: the label is specific to the namespace.
  • The problem was observed first in June 2024; it worked as supposed over decades.

No JavaScript did modify the text, the server response says already:

<li id="ca-nstab-main">
<a href="/wiki/..."><span>Seite</span></a>
</li>

Event Timeline

Arrrgh. The language de-AT de-CH de-formal is also involved.

  • However, in July 2023 it has been stated that the system message in native project language shall act as fallback if not defined for subtag.
  • Therefore de-at de-ch de-formal were deleted in August 2023.

The behaviour according to T229992 or the famous language fallback chain does not work here.

  • What is the exact algorithm for fallbacks? Which definition at which level will take precedence and will be defaulted to what when? The manual is not precise enough.
  • We did remove many explicit fallbacks de-at de-ch de-formal which worked, but some did not. Why?

The current fallback sequence:

  • custom de-* messages
  • → de-*.json messages
  • custom de messages
  • → de.json messages

https://translatewiki.net/wiki/Special:Translations?message=MediaWiki%3ANstab-main

  • de-AT was not translated and falled back
  • de-CH and de-formal were translated and prevented the fallback.

As the translations were identical, I guess de-CH and de-formal translations should be deleted on translatewiki?