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$' #
pywikibot-commits@lists.wikimedia.org