Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/789985 )
Change subject: [doc] Update documentation of RedirectPageBot and NoRedirectPageBot ......................................................................
[doc] Update documentation of RedirectPageBot and NoRedirectPageBot
Change-Id: Ia067fcb9233296eb91d57cef28a404b600634409 --- M pywikibot/bot.py 1 file changed, 4 insertions(+), 2 deletions(-)
Approvals: Xqt: Verified; Looks good to me, approved
diff --git a/pywikibot/bot.py b/pywikibot/bot.py index 68eb169..274e4bf 100644 --- a/pywikibot/bot.py +++ b/pywikibot/bot.py @@ -1996,7 +1996,8 @@ """A RedirectPageBot class which only treats redirects.
.. deprecated:: 7.2 - use BaseBot attribute 'use_redirects = True' instead + use BaseBot attribute + :attr:`use_redirects = True<BaseBot.use_redirects>` instead """
def __init__(self, *args, **kwargs): @@ -2021,7 +2022,8 @@ """A NoRedirectPageBot class which only treats non-redirects.
.. deprecated:: 7.2 - use BaseBot attribute 'use_redirects = False' instead + use BaseBot attribute + :attr:`use_redirects = False<BaseBot.use_redirects>` instead """
def __init__(self, *args, **kwargs):
pywikibot-commits@lists.wikimedia.org