Page MenuHomePhabricator catall script adds an extra ':'
Closed, ResolvedPublic


Steps to reproduce:

python login
python catall
make a category or add an existing category to page


[[Category::Recipes]] instead of [[Category:Recipes]]. The former does not create a valid category link, just adds the text at the bottom of the page. The latter does.

Suggested solution:

Change the following in on line 78

cattitle = "%s:%s" % (site.namespaces.CATEGORY, p)


cattitle = "%s%s" % (site.namespaces.CATEGORY, p)

Revisions and Commits

Event Timeline

Framawiki renamed this task from catall script adds an extra ':', so categories aren't actually made. to catall script adds an extra ':'.Aug 15 2018, 4:41 PM
Xqt triaged this task as High priority.Aug 15 2018, 8:36 PM

Change 453338 had a related patch set uploaded (by Dalba; owner: dalba):
[pywikibot/core@master] Fix usages of site.namespaces.NAMESPACE_NAME

Change 453338 merged by jenkins-bot:
[pywikibot/core@master] Fix usages of site.namespaces.NAMESPACE_NAME