Page MenuHomePhabricator

Update category_redirect_templates
Closed, ResolvedPublic

Description

Hi, yesterday I ran Pywikibot's "category_redirect.py" script on ckbwiki, but it didn't work and showed the message WARNING: No redirect templates defined for wikipedia:ckb while we have ckbwiki message for self.cat_redirect_cat. I think this script will not work at all on any project (as far as I understand) because of missing a template list for https://en.wikipedia.org/wiki/Template:Category_redirect. Thanks!

Event Timeline

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

[pywikibot/core@master] [L10N] Update category_redirect_templates for ckbwiki

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

Xqt triaged this task as Medium priority.Oct 15 2023, 3:51 PM
Xqt renamed this task from Create template list for "Template:Category redirect" in the Pywikibot's "category_redirect.py" script to Update category_redirect_templates.Oct 15 2023, 4:49 PM

Note: there are a lot of missing L10N for Wikimedia sites. Maybe the category_redirect_templates stuff should be rewritten to use wikibase for Wikimedia families.

Xqt lowered the priority of this task from Medium to Low.Oct 16 2023, 5:23 PM

Change 965912 merged by jenkins-bot:

[pywikibot/core@master] [L10N] Update category_redirect_templates for ckbwiki

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

Note: there are a lot of missing L10N for Wikimedia sites. Maybe the category_redirect_templates stuff should be rewritten to use wikibase for Wikimedia families.

Yes, that would make maintenance a lot easier, not only due to missing local names, but also because local templates get renamed every now and then.

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

[pywikibot/core@master] [IMPR] provide category_redirect categories for all WM sites

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

Change 979895 merged by jenkins-bot:

[pywikibot/core@master] [IMPR] provide category_redirect categories for all WM sites

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