[MediaWiki-commits] [Gerrit] pywikibot/core[master]: [doc] Fix doc string in a way not to break the options tables
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/385799 ) Change subject: [doc] Fix doc string in a way not to break the options tables .. [doc] Fix doc string in a way not to break the options tables See: https://doc.wikimedia.org/pywikibot/api_ref/pywikibot.html#generator-options Change-Id: Iab02d9f55ba6e6a734bad65d9fccbdda9769409e --- M pywikibot/pagegenerators.py 1 file changed, 224 insertions(+), 215 deletions(-) Approvals: Dalba: Looks good to me, approved jenkins-bot: Verified Zoranzoki21: Looks good to me, but someone else must approve diff --git a/pywikibot/pagegenerators.py b/pywikibot/pagegenerators.py index b0c6dab..abd8469 100644 --- a/pywikibot/pagegenerators.py +++ b/pywikibot/pagegenerators.py @@ -69,291 +69,300 @@ GENERATOR OPTIONS = --cat Work on all pages which are in a specific category. - Argument can also be given as "-cat:categoryname" or - as "-cat:categoryname|fromtitle" (using # instead of | - is also allowed in this one and the following) +-catWork on all pages which are in a specific category. +Argument can also be given as "-cat:categoryname" or +as "-cat:categoryname|fromtitle" (using # instead of | +is also allowed in this one and the following) --catr Like -cat, but also recursively includes pages in - subcategories, sub-subcategories etc. of the - given category. - Argument can also be given as "-catr:categoryname" or - as "-catr:categoryname|fromtitle". +-catr Like -cat, but also recursively includes pages in +subcategories, sub-subcategories etc. of the +given category. +Argument can also be given as "-catr:categoryname" or +as "-catr:categoryname|fromtitle". --subcats Work on all subcategories of a specific category. - Argument can also be given as "-subcats:categoryname" or - as "-subcats:categoryname|fromtitle". +-subcatsWork on all subcategories of a specific category. +Argument can also be given as "-subcats:categoryname" or +as "-subcats:categoryname|fromtitle". --subcatsr Like -subcats, but also includes sub-subcategories etc. of - the given category. - Argument can also be given as "-subcatsr:categoryname" or - as "-subcatsr:categoryname|fromtitle". +-subcatsr Like -subcats, but also includes sub-subcategories etc. of +the given category. +Argument can also be given as "-subcatsr:categoryname" or +as "-subcatsr:categoryname|fromtitle". --uncatWork on all pages which are not categorised. +-uncat Work on all pages which are not categorised. --uncatcat Work on all categories which are not categorised. +-uncatcat Work on all categories which are not categorised. --uncatfiles Work on all files which are not categorised. +-uncatfiles Work on all files which are not categorised. --file Read a list of pages to treat from the named text file. - Page titles in the file may be either enclosed with - [[brackets]], or be separated by new lines. - Argument can also be given as "-file:filename". +-file Read a list of pages to treat from the named text file. +Page titles in the file may be either enclosed with +[[brackets]], or be separated by new lines. +Argument can also be given as "-file:filename". --filelinksWork on all pages that use a certain image/media file. - Argument can also be given as "-filelinks:filename". +-filelinks Work on all pages that use a certain image/media file. +Argument can also be given as "-filelinks:filename". --search Work on all pages that are found in a MediaWiki search - across all namespaces. +-search Work on all pages that are found in a MediaWiki search +across all namespaces. --logeventsWork on articles that were on a specified Special:Log. - The value may be a comma separated list of these values: +-logevents Work on articles that were on a specified Special:Log. +The value may be a comma separated list of these values: - logevent,username,start,end +logevent,username,start,end - or for backward compatibility: +o
[MediaWiki-commits] [Gerrit] pywikibot/core[master]: [doc] Fix doc string in a way not to break the options tables
Xqt has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/385799 ) Change subject: [doc] Fix doc string in a way not to break the options tables .. [doc] Fix doc string in a way not to break the options tables See: https://doc.wikimedia.org/pywikibot/api_ref/pywikibot.html#generator-options Change-Id: Iab02d9f55ba6e6a734bad65d9fccbdda9769409e --- M pywikibot/pagegenerators.py 1 file changed, 224 insertions(+), 215 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core refs/changes/99/385799/1 diff --git a/pywikibot/pagegenerators.py b/pywikibot/pagegenerators.py index b0c6dab..9111a1d 100644 --- a/pywikibot/pagegenerators.py +++ b/pywikibot/pagegenerators.py @@ -69,291 +69,300 @@ GENERATOR OPTIONS = --cat Work on all pages which are in a specific category. - Argument can also be given as "-cat:categoryname" or - as "-cat:categoryname|fromtitle" (using # instead of | - is also allowed in this one and the following) +-catWork on all pages which are in a specific category. +Argument can also be given as "-cat:categoryname" or +as "-cat:categoryname|fromtitle" (using # instead of | +is also allowed in this one and the following) --catr Like -cat, but also recursively includes pages in - subcategories, sub-subcategories etc. of the - given category. - Argument can also be given as "-catr:categoryname" or - as "-catr:categoryname|fromtitle". +-catr Like -cat, but also recursively includes pages in +subcategories, sub-subcategories etc. of the +given category. +Argument can also be given as "-catr:categoryname" or +as "-catr:categoryname|fromtitle". --subcats Work on all subcategories of a specific category. - Argument can also be given as "-subcats:categoryname" or - as "-subcats:categoryname|fromtitle". +-subcatsWork on all subcategories of a specific category. +Argument can also be given as "-subcats:categoryname" or +as "-subcats:categoryname|fromtitle". --subcatsr Like -subcats, but also includes sub-subcategories etc. of - the given category. - Argument can also be given as "-subcatsr:categoryname" or - as "-subcatsr:categoryname|fromtitle". +-subcatsr Like -subcats, but also includes sub-subcategories etc. of +the given category. +Argument can also be given as "-subcatsr:categoryname" or +as "-subcatsr:categoryname|fromtitle". --uncatWork on all pages which are not categorised. +-uncat Work on all pages which are not categorised. --uncatcat Work on all categories which are not categorised. +-uncatcat Work on all categories which are not categorised. --uncatfiles Work on all files which are not categorised. +-uncatfiles Work on all files which are not categorised. --file Read a list of pages to treat from the named text file. - Page titles in the file may be either enclosed with - [[brackets]], or be separated by new lines. - Argument can also be given as "-file:filename". +-file Read a list of pages to treat from the named text file. +Page titles in the file may be either enclosed with +[[brackets]], or be separated by new lines. +Argument can also be given as "-file:filename". --filelinksWork on all pages that use a certain image/media file. - Argument can also be given as "-filelinks:filename". +-filelinks Work on all pages that use a certain image/media file. +Argument can also be given as "-filelinks:filename". --search Work on all pages that are found in a MediaWiki search - across all namespaces. +-search Work on all pages that are found in a MediaWiki search +across all namespaces. --logeventsWork on articles that were on a specified Special:Log. - The value may be a comma separated list of these values: +-logevents Work on articles that were on a specified Special:Log. +The value may be a comma separated list of these values: - logevent,username,start,end +logevent,username,start,end - or for backward compatibility: +or for backward compatibility: - logevent,us