Revision: 8078 Author: shizhao Date: 2010-04-12 14:18:51 +0000 (Mon, 12 Apr 2010)
Log Message: ----------- recentchanges() add rcdir='older'
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2010-04-12 13:52:00 UTC (rev 8077) +++ trunk/pywikipedia/wikipedia.py 2010-04-12 14:18:51 UTC (rev 8078) @@ -6005,7 +6005,7 @@ if not repeat: break
- def recentchanges(self, number = 100, rcstart = None, rcend = None, rcshow = None, rctype ='edit|new', namespace=None, includeredirects=True, repeat = False): + def recentchanges(self, number = 100, rcstart = None, rcend = None, rcshow = None, rcdir='older', rctype ='edit|new', namespace=None, includeredirects=True, repeat = False): """ Yield ImagePages from APIs, call: action=query&list=recentchanges&rctype=edit|new&rclimit=500
@@ -6044,6 +6044,7 @@ params = { 'action' : 'query', 'list' : 'recentchanges', + 'rcdir' : rcdir, 'rctype' : rctype, 'rcprop' : ['user','comment','timestamp','title','ids','loginfo'], #','flags','sizes','redirect','patrolled'] 'rcnamespace' : namespace,