Page MenuHomePhabricator

VisualEditor: Localised tag description should link to content language documentation page
Closed, ResolvedPublic

Description

When working with tags in edits, the tag can be localised in the page history (and recent changes, etc.). For example the history of [[mw:Localisation]][1] shows "(Tag: VisualEditor)" where "tag" links to [[mw:Special:Tags]] and "VisualEditor" links to [[mw:VisualEditor]].

When viewing the same history in Dutch[2], this log line part displays as "Label: Visuele tekstverwerker", which in itself is a correct localisation for Dutch. When inspecting the links, the following observations are made:

Observed:
I. "Label" links to Special:Tags (expected)
II. "Visuele tekstverwerker" links to "Visuele tekstverwerker"

Expected:
III. "Visuele tekstverwerker" links to the documentation page in the content language (in this example "VisualEditor"). Otherwise each wiki would be expected to have documentation in all usable user interface languages (or at least redirects) to avoid red links.

[1] https://www.mediawiki.org/w/index.php?title=Localisation&action=history&uselang=en
[2] https://www.mediawiki.org/w/index.php?title=Localisation&action=history&uselang=nl


Version: unspecified
Severity: normal

Details

Reference
bz52276

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:04 AM
bzimport set Reference to bz52276.
siebrand created this task.Jul 30 2013, 1:50 PM

[[mw:MediaWiki:Tag-visualeditor]] is using int: to fetch the visualeditor-descriptionpagelink, that should be done only for the content language. The link should be changed to {{MediaWiki:visualeditor-descriptionpagelink}}.

That is a problem in VisualEditor, moving component

Right. It should probably be [[{{MediaWiki:visualeditor-descriptionpagelink}}|VisualEditor]].

This was caused by gerrit 75559 - will partially-revert.

Change 76763 had a related patch set uploaded by Jforrester:
Partial revert of gerrit 8ed6dfa5423 to avoid i18n mis-links

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

Change 76763 merged by jenkins-bot:
Partial revert of gerrit 8ed6dfa5423 to avoid i18n mis-links

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

Fixed; we'll deploy this later today.