Dalba has uploaded a new change for review. ( 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 term in a definition list should be short and there is not suitable here. Bug: T182895 Change-Id: Ie96ec8d5def6d5423315ef75511d76bd2154f5c2 --- M scripts/imagecopy.py 1 file changed, 14 insertions(+), 5 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core refs/changes/88/398288/1 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: newchange Gerrit-Change-Id: Ie96ec8d5def6d5423315ef75511d76bd2154f5c2 Gerrit-PatchSet: 1 Gerrit-Project: pywikibot/core Gerrit-Branch: master Gerrit-Owner: Dalba <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
