[Pywikipedia-l] SVN: [6369] trunk/pywikipedia/wikipedia.py

filnik at svn.wikimedia.org filnik at svn.wikimedia.org
Wed Feb 18 15:50:13 UTC 2009


Revision: 6369
Author:   filnik
Date:     2009-02-18 15:50:13 +0000 (Wed, 18 Feb 2009)

Log Message:
-----------
Little fixes to the function

Modified Paths:
--------------
    trunk/pywikipedia/wikipedia.py

Modified: trunk/pywikipedia/wikipedia.py
===================================================================
--- trunk/pywikipedia/wikipedia.py	2009-02-18 15:49:34 UTC (rev 6368)
+++ trunk/pywikipedia/wikipedia.py	2009-02-18 15:50:13 UTC (rev 6369)
@@ -2727,7 +2727,8 @@
         else:
             return new_text
 
-    def getLatestEditor(self, limit):
+    def getLatestEditors(self, limit = 1):
+        """ Function to get the last editors of a page """
         #action=query&prop=revisions&titles=API&rvprop=timestamp|user|comment
         params = {
             'action'    :'query',





More information about the Pywikipedia-l mailing list