jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/533226 )
Change subject: [doc] ConfigParserBot documentation
......................................................................
[doc] ConfigParserBot documentation
Change-Id: Ia353c95771d7086629420c91f8630c8e94739c46
---
M pywikibot/bot.py
1 file changed, 6 insertions(+), 0 deletions(-)
Approvals:
D3r1ck01: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/bot.py b/pywikibot/bot.py
index 6dfb04d..ad1d536 100644
--- a/pywikibot/bot.py
+++ b/pywikibot/bot.py
@@ -19,6 +19,12 @@
set the C{site} property and it's deprecated to request it. Instead site of
the current page should be used. And out of C{run} that sit isn't defined.
+* L{ConfigParserBot}: Bot class which supports reading options from a
+ scripts.ini configuration file. That file consists of sections, led by a
+ C{[section]} header and followed by C{option: value} or C{option=value}
+ entries. The section is the script name without .py suffix. All options
+ identified must be predefined in availableOptions dictionary.
+
* L{Bot}: The previous base class which should be avoided. This class is mainly
used for bots which work with wikibase or together with an image repository.
--
To view, visit
https://gerrit.wikimedia.org/r/533226
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia353c95771d7086629420c91f8630c8e94739c46
Gerrit-Change-Number: 533226
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki(a)aol.com>
Gerrit-Reviewer: jenkins-bot (75)