jenkins-bot has submitted this change and it was merged.

Change subject: Improve script documentation
......................................................................


Improve script documentation

Change-Id: If64b3a676cc88041fe79217ac31d50c62f0d9c81
---
M scripts/create_categories.py
1 file changed, 6 insertions(+), 2 deletions(-)

Approvals:
  XZise: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/scripts/create_categories.py b/scripts/create_categories.py
index 90f2536..b3d0f59 100755
--- a/scripts/create_categories.py
+++ b/scripts/create_categories.py
@@ -2,8 +2,8 @@
 """
 Program to batch create categories.
 
-The program expects a generator containing a list of page titles to be used as
-base.
+The program expects a generator of page titles to be used as
+suffix for creating new categories with a different base.
 
 The following command line parameters are supported:
 
@@ -23,6 +23,10 @@
     -parent:"Cultural heritage monuments in Wallonia"
     -basename:"Cultural heritage monuments in"
 
+The page 'User:Multichill/Wallonia' on commons contains
+page links like [[Category:Hensies]], causing this script
+to create [[Category:Cultural heritage monuments in Hensies]].
+
 """
 __version__ = '$Id$'
 #

-- 
To view, visit https://gerrit.wikimedia.org/r/201408
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If64b3a676cc88041fe79217ac31d50c62f0d9c81
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jay...@gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgr...@gmail.com>
Gerrit-Reviewer: Merlijn van Deen <valhall...@arctus.nl>
Gerrit-Reviewer: XZise <commodorefabia...@gmx.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to