http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10255
Revision: 10255 Author: xqt Date: 2012-05-26 13:23:03 +0000 (Sat, 26 May 2012) Log Message: ----------- watchlist is also retrieved via api; doc changed
Modified Paths: -------------- trunk/pywikipedia/watchlist.py
Modified: trunk/pywikipedia/watchlist.py =================================================================== --- trunk/pywikipedia/watchlist.py 2012-05-26 12:48:59 UTC (rev 10254) +++ trunk/pywikipedia/watchlist.py 2012-05-26 13:23:03 UTC (rev 10255) @@ -2,10 +2,10 @@ """ Allows access to the bot account's watchlist.
-The function refresh() downloads the current watchlist and saves -it to disk. It is run automatically when a bot first tries to save a page -retrieved via XML Export. The watchlist can be updated manually by running -this script. The list will also be reloaded automatically once a month. +The function refresh() downloads the current watchlist and saves it to disk. It +is run automatically when a bot first tries to save a page retrieved. The +watchlist can be updated manually by running this script. The list will also +be reloaded automatically once a month.
Syntax: python watchlist [-all]
@@ -15,8 +15,9 @@ -new - Load watchlists for all wikis where accounts is setting in user-config.py """ - +# # (C) Daniel Herding, 2005 +# (C) Pywikipedia bot team, 2005-2012 # # Distributed under the terms of the MIT license. #