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):

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/789985
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ia067fcb9233296eb91d57cef28a404b600634409
Gerrit-Change-Number: 789985
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-CC: jenkins-bot
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to