jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/585728 )
Change subject: [doc] Use epytext in PetScanPageGenerator ......................................................................
[doc] Use epytext in PetScanPageGenerator
Change-Id: I2ecc2380b3e5407f6bb1e93d2d39235120ea615f --- M pywikibot/pagegenerators.py 1 file changed, 10 insertions(+), 10 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/pagegenerators.py b/pywikibot/pagegenerators.py index 077fddf..0e30c02 100644 --- a/pywikibot/pagegenerators.py +++ b/pywikibot/pagegenerators.py @@ -3016,16 +3016,16 @@ """ Initializer.
- :param categories: List of categories to retrieve pages from + @param categories: List of categories to retrieve pages from (as strings) - :param subset_combination: Combination mode. + @param subset_combination: Combination mode. If True, returns the intersection of the results of the categories, else returns the union of the results of the categories - :param namespaces: List of namespaces to search in + @param namespaces: List of namespaces to search in (default is None, meaning all namespaces) - :param site: Site to operate on + @param site: Site to operate on (default is the default site from the user config) - :param extra_options: Dictionary of extra options to use (optional) + @param extra_options: Dictionary of extra options to use (optional) """ if site is None: site = pywikibot.Site() @@ -3039,13 +3039,13 @@ """ Get the querystring options to query PetScan.
- :param categories: List of categories (as strings) - :param subset_combination: Combination mode. + @param categories: List of categories (as strings) + @param subset_combination: Combination mode. If True, returns the intersection of the results of the categories, else returns the union of the results of the categories - :param namespaces: List of namespaces to search in - :param extra_options: Dictionary of extra options to use - :return: Dictionary of querystring parameters to use in the query + @param namespaces: List of namespaces to search in + @param extra_options: Dictionary of extra options to use + @return: Dictionary of querystring parameters to use in the query """ extra_options = extra_options or {}
pywikibot-commits@lists.wikimedia.org