jenkins-bot merged this change.

View Change

Approvals: D3r1ck01: Looks good to me, approved jenkins-bot: Verified
[doc] ConfigParserBot documentation

Change-Id: Ia353c95771d7086629420c91f8630c8e94739c46
---
M pywikibot/bot.py
1 file changed, 6 insertions(+), 0 deletions(-)

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 change 533226. To unsubscribe, or for help writing mail filters, visit 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@gno.de>
Gerrit-Reviewer: D3r1ck01 <xsavitar.wiki@aol.com>
Gerrit-Reviewer: jenkins-bot (75)