Revision: 4609 Author: russblau Date: 2007-11-28 13:57:35 +0000 (Wed, 28 Nov 2007)
Log Message: ----------- Allow redirect.py to retrieve all double-redirects up to 1000, regardless of the user's configured limit.
Modified Paths: -------------- trunk/pywikipedia/redirect.py
Modified: trunk/pywikipedia/redirect.py =================================================================== --- trunk/pywikipedia/redirect.py 2007-11-28 13:49:24 UTC (rev 4608) +++ trunk/pywikipedia/redirect.py 2007-11-28 13:57:35 UTC (rev 4609) @@ -177,6 +177,7 @@ mysite = wikipedia.getSite() # retrieve information from the live wiki's maintenance page # double redirect maintenance page's URL + wikipedia.config.special_page_limit = 1000 path = mysite.double_redirects_address(default_limit = False) wikipedia.output(u'Retrieving special page...') maintenance_txt = mysite.getUrl(path)