jenkins-bot merged this change.
[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.