http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11359
Revision: 11359 Author: legoktm Date: 2013-04-08 12:57:36 +0000 (Mon, 08 Apr 2013) Log Message: ----------- Don't fetch revision info when getting the token, patch by nu11zer0.
Modified Paths: -------------- branches/rewrite/pywikibot/site.py
Modified: branches/rewrite/pywikibot/site.py =================================================================== --- branches/rewrite/pywikibot/site.py 2013-04-08 12:56:05 UTC (rev 11358) +++ branches/rewrite/pywikibot/site.py 2013-04-08 12:57:36 UTC (rev 11359) @@ -1354,7 +1354,7 @@ see API documentation for full list of types
""" - query = api.PropertyGenerator("info|revisions", + query = api.PropertyGenerator("info", titles=page.title(withSection=False), intoken=tokentype, site=self)