Page MenuHomePhabricator

Category page name is not shown in Special:Translate
Closed, ResolvedPublicBUG REPORT

Description

On translating category pages, the category page name is not shown.

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

What happens?:
The following message (without the source page name) is shown:

Translation of the wiki page from English (en) to 日本語 (ja)

Non-category page names are shown.

What should have happened instead?:
The wiki page name should be shown:

Translation of the wiki page Category:Content maintenance scripts from English (en) to 日本語 (ja)

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Change 812443 had a related patch set uploaded (by Tacsipacsi; author: Tacsipacsi):

[mediawiki/extensions/Translate@master] WikiPage group description: prefix source page title

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

Tacsipacsi changed the task status from Open to In Progress.Jul 9 2022, 11:24 AM
Tacsipacsi claimed this task.

Change 812531 had a related patch set uploaded (by Abijeet Patro; author: Tacsipacsi):

[mediawiki/extensions/Translate@wmf/1.39.0-wmf.19] WikiPage group description: prefix source page title

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

Change 812443 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] WikiPage group description: prefix source page title

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

@abi_ Thanks for the review, but I’m not sure if it really needs to be backported—it’s rather an annoyance than a really broken thing. (I know there’s no train this week, but still.) Of course, I’m not against backporting it, though.

Change 812531 abandoned by Abijeet Patro:

[mediawiki/extensions/Translate@wmf/1.39.0-wmf.19] WikiPage group description: prefix source page title

Reason:

Not urgent enough to backport

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

This is fixed: https://www.mediawiki.org/w/index.php?title=Special:Translate&group=page-Category%3AContent+maintenance+scripts&action=page&filter=&language=ja&uselang=en

I now see the expected value:

Translation of the wiki page Category:Content maintenance scripts from English (en) to 日本語 (ja)