Page MenuHomePhabricator

GRAMMAR keyword stopped working in MediaWiki messages related to Wikibase
Open, Needs TriagePublicBUG REPORT

Description

Hi. There is a weird message there, and we with @Amire80 coudn't find the source

  1. Open https://he.wikipedia.org/wiki/Special:Watchlist?safemode=1.
  2. Look up the first entry in the legend.
  3. Expected: "עריכה בוויקינתונים", or, at least, "עריכה ב-Wikidata".
  4. Got: "עריכה בWikidata" - wrong language and grammar error, hyphen is missing.

The qqx says "wikibase-rc-wikibase-edit-legend". Translatewiki: MediaWiki:Wikibase-rc-wikibase-edit-legend/en says {{int:wikibase-rc-wikibase-edit-title}}. Translatewiki:MediaWiki:Wikibase-rc-wikibase-edit-title/he says "עריכה ב{{GRAMMAR:תחילית|{{WBREPONAME}}}}", and looks that it should work. Thank you.

image.png (252×449 px, 13 KB)

Event Timeline

Reedy renamed this task from Wrong message om Special:Watchlist in hewiki to Wrong message on Special:Watchlist in hewiki.Apr 29 2025, 4:14 PM

I think that maybe the problem is not just on hewiki.
The page Feltria on ruwiki, and there are more, has "Элемент Wikidata" in the Tools menu, instead of "Элемент Викиданных". And there is "grammar" there too.

image.png (838×554 px, 72 KB)

stjn renamed this task from Wrong message on Special:Watchlist in hewiki to GRAMMAR keyword stopped working in MediaWiki messages related to Wikibase.May 30 2025, 2:37 PM
stjn added a project: Regression.

Same issue reported at https://ru.wikipedia.org/wiki/Википедия:Форум/Технический#Ссылка_на_элемент_Викиданных
Seems like neither {{GRAMMAR:}} keyword is no longer working when it comes to translations of Wikidata into different languages, and Wikidata is now untranslated.

I'm a bit confused. It seems to work correctly at hewiki now, and it doesn't seem to be a local customization. Am I looking at something incorrectly?

תמונה.png (207×364 px, 18 KB)

In the case of Russian Wikipedia, this issue is present on many pages such as https://ru.wikipedia.org/wiki/Feltria
On the tech forum a user writes that it works fine if in the HTML source code it doesn’t say Rendering was triggered because: unknown but works incorrectly if it does.

I'm a bit confused. It seems to work correctly at hewiki now, and it doesn't seem to be a local customization. Am I looking at something incorrectly?

תמונה.png (207×364 px, 18 KB)

About that. Check here.