jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/398288 )

Change subject: imagecopy.py: Fix docstring
......................................................................


imagecopy.py: Fix docstring

Use literal code blocks instead of definition lists. The terms in a definition
list should be short and therefore it is not suitable here.

Bug: T182895
Change-Id: Ie96ec8d5def6d5423315ef75511d76bd2154f5c2
---
M scripts/imagecopy.py
1 file changed, 14 insertions(+), 5 deletions(-)

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



diff --git a/scripts/imagecopy.py b/scripts/imagecopy.py
index f16a43a..9116155 100644
--- a/scripts/imagecopy.py
+++ b/scripts/imagecopy.py
@@ -19,17 +19,26 @@
 
 Examples
 
-Work on a single image
+Work on a single image: ::
+
  python pwb.py imagecopy.py -page:Image:<imagename>
-Work on the 100 newest images:
+
+Work on the 100 newest images: ::
+
  python pwb.py imagecopy.py -newimages:100
-Work on all images in a category:<cat>
+
+Work on all images in a category:<cat>::
+
  python pwb.py imagecopy.py -cat:<cat>
-Work on all images which transclude a template
+
+Work on all images which transclude a template: ::
+
  python pwb.py imagecopy.py -transcludes:<template>
+
 Work on a single image and deletes the image when the transfer is complete
 (only works if the user has sysops privilege, otherwise it will be marked for
-deletion)
+deletion): ::
+
  python pwb.py imagecopy.py -page:Image:<imagename> -delete
 
 See pagegenerators.py for more ways to get a list of images.

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie96ec8d5def6d5423315ef75511d76bd2154f5c2
Gerrit-PatchSet: 3
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Dalba <[email protected]>
Gerrit-Reviewer: John Vandenberg <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: Zoranzoki21 <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to