Bugs item #3604456, was opened at 2013-02-13 01:41
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3604456&group_id=93107
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Recentchanges misbehave?
Initial Comment:
There are two bugs I found in recentchanges() from wikipedia.py.
First, I think that the function should return every revision. However, now it
returns only pages that haven't seen before.
Should
if i['pageid'] not in seen:
seen.add(i['pageid'])
be replaced with
if i['revid'] not in seen:
seen.add(i['revid'])
?
Second, what does parameter 'includeredirects' stand for? It is useless becaue
it isn't used anywhere in the function.
Pywikipedia trunk/pywikipedia/ (r11072, 2013/02/10, 16:52:07, ok)
Python 2.7.3 (default, Sep 26 2012, 21:53:58)
[GCC 4.7.2]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3604456&group_id=93107
_______________________________________________
Pywikipedia-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-bugs