http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9212
Revision: 9212 Author: xqt Date: 2011-05-04 03:59:16 +0000 (Wed, 04 May 2011) Log Message: ----------- comment out unused info properties for mw 1.12 compatibility, bugfix for bug #3278877
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2011-05-02 16:51:19 UTC (rev 9211) +++ trunk/pywikipedia/wikipedia.py 2011-05-04 03:59:16 UTC (rev 9212) @@ -723,7 +723,9 @@ 'prop': ['revisions', 'info'], 'rvprop': ['content', 'ids', 'flags', 'timestamp', 'user', 'comment', 'size'], 'rvlimit': 1, - 'inprop': ['protection', 'talkid', 'subjectid', 'url', 'readable'], + #'talkid' valid for release > 1.12 + #'url', 'readable' valid for release > 1.14 + 'inprop': ['protection', 'subjectid'], #'intoken': 'edit', } if oldid: @@ -4338,7 +4340,7 @@ 'titles': pagenames, 'siprop': ['general', 'namespaces'], 'rvprop': ['content', 'timestamp', 'user', 'comment', 'size'],#'ids', - 'inprop': ['protection', 'talkid', 'subjectid'], #, 'url', 'readable' + 'inprop': ['protection', 'subjectid'], #, 'talkid', 'url', 'readable' }
# Slow ourselves down
pywikipedia-svn@lists.wikimedia.org