Page MenuHomePhabricator

category_redirect.py: Use translated NS_TEMPLATE name in the log
Closed, ResolvedPublicFeature

Description

rPWBC scripts/category_redirect.py creates a log after each run with a summary of its operations. While the NS_CATEGORY namespace is being shown translated into the wiki language, the NS_TEMPLATE namespace invariably use English. See e.g. https://es.wikipedia.org/wiki/Usuario:MABot/category_redirect_log.

Would it be possible to display the NS_TEMPLATE namespace name translated too?

Software version: Pywikibot master.

Thank you.

Event Timeline

Xqt changed the task status from Open to In Progress.Sep 18 2022, 1:22 PM
Xqt claimed this task.
Xqt triaged this task as Low priority.
Xqt changed the subtype of this task from "Bug Report" to "Feature Request".
Xqt moved this task from Backlog to L10N/i18n on the Pywikibot-Scripts board.

Change 832740 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [IMPR] Use localized template prefix in category_redirect.py

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

Change 832740 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] Use localized template prefix in category_redirect.py

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