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(
--
To view, visit
https://gerrit.wikimedia.org/r/428046
To unsubscribe, visit
https://gerrit.wikimedia.org/r/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(a)seznam.cz>
Gerrit-Reviewer: Dvorapa <dvorapa(a)seznam.cz>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: Zoranzoki21 <zorandori4444(a)gmail.com>
Gerrit-Reviewer: jenkins-bot <>