jenkins-bot merged this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[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(-)

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(

To view, visit change 428046. To unsubscribe, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I4d84e2d021c2ae85c11f45a898443f8c7b618312
Gerrit-Change-Number: 428046
Gerrit-PatchSet: 2
Gerrit-Owner: Dvorapa <dvorapa@seznam.cz>
Gerrit-Reviewer: Dvorapa <dvorapa@seznam.cz>
Gerrit-Reviewer: John Vandenberg <jayvdb@gmail.com>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: Zoranzoki21 <zorandori4444@gmail.com>
Gerrit-Reviewer: jenkins-bot <>