jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/428046 )
Change subject: [bugfix] Fix category title handling in makecat.py ......................................................................
[bugfix] Fix category title handling in makecat.py
The makecat.py was broken due to double colon in processed category title. The script was not working at all and also the docs were missing to the script (T187009).
Bug: T192706 Change-Id: I4d84e2d021c2ae85c11f45a898443f8c7b618312 --- M scripts/makecat.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/makecat.py b/scripts/makecat.py index 0f647ad..4305fdd 100755 --- a/scripts/makecat.py +++ b/scripts/makecat.py @@ -217,7 +217,7 @@ summary = i18n.twtranslate(mysite, 'makecat-create', {'cat': workingcatname}) workingcat = pywikibot.Category(mysite, - u'%s:%s' + '%s%s' % (mysite.namespaces.CATEGORY, workingcatname)) filename = pywikibot.config.datafilepath(
pywikibot-commits@lists.wikimedia.org