Revision: 4311 Author: valhallasw Date: 2007-09-16 21:08:12 +0000 (Sun, 16 Sep 2007)
Log Message: ----------- Updated botMayEdit docs
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2007-09-16 16:08:23 UTC (rev 4310) +++ trunk/pywikipedia/wikipedia.py 2007-09-16 21:08:12 UTC (rev 4311) @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# -*- coding: utf-8 -*- """ Library to get and put pages on a MediaWiki.
@@ -752,9 +752,9 @@ contains them and active bot is allowed or not allowed to edit said page
- Note that the framework does not enforce this restriction; if it - is desired to implement authorization-checking for a particular - bot, the bot must call this method before editing. + The framework enforces this restriction by default. It is possible to + override this by setting wikipedia.ignore_bot_templates=True or using + page.put(force=True). """ global ignore_bot_templates if ignore_bot_templates: #Check the "master ignore switch"