jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/404637 )
Change subject: [doc] Show pagegenerators options with -help ......................................................................
[doc] Show pagegenerators options with -help
- also remove unused NL constant
Change-Id: I384098245993581653758fd2fe11150063774201 --- M scripts/imagecopy.py 1 file changed, 7 insertions(+), 3 deletions(-)
Approvals: Dalba: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/imagecopy.py b/scripts/imagecopy.py index 6c8a731..c37fb0d 100644 --- a/scripts/imagecopy.py +++ b/scripts/imagecopy.py @@ -19,6 +19,8 @@
Command line options:
+¶ms; + -always Skip the GUI validation
-setcat: Set the category of the copied image @@ -51,9 +53,7 @@
python pwb.py imagecopy.py -page:Image:<imagename> -delete
-See pagegenerators.py for more ways to get a list of images. By default the bot works on your home wiki (set in user-config) - """ # Based on upload.py by: # (C) Rob W.W. Hooft, Andre Engels 2003-2007 @@ -93,7 +93,11 @@ Tkinter = _tk_error Tkdialog = object
-NL = '' +# This is required for the text that is shown when you run this script +# with the parameter -help. +docuReplacements = { + '¶ms;': pagegenerators.parameterHelp +}
nowCommonsTemplate = { '_default': u'{{NowCommons|%s}}',