http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10698
Revision: 10698 Author: xqt Date: 2012-11-11 11:49:41 +0000 (Sun, 11 Nov 2012) Log Message: ----------- import compat query, encodeTitle never used
Modified Paths: -------------- branches/rewrite/scripts/imageuncat.py
Modified: branches/rewrite/scripts/imageuncat.py =================================================================== --- branches/rewrite/scripts/imageuncat.py 2012-11-11 11:46:51 UTC (rev 10697) +++ branches/rewrite/scripts/imageuncat.py 2012-11-11 11:49:41 UTC (rev 10698) @@ -17,7 +17,7 @@ from pywikibot import config from pywikibot import pagegenerators from pywikibot import config -#import query +import query from datetime import datetime from datetime import timedelta
@@ -1255,7 +1255,7 @@ 'leend' :today.strftime(dateformat) }
- data = query.GetData(params, site, encodeTitle = False) + data = query.GetData(params, site) try: for item in data['query']['logevents']: result.append(item['title'])
pywikipedia-svn@lists.wikimedia.org