Bugs item #1851933, was opened at 2007-12-16 17:49 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1851933...
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: category Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Bernhard Mayr (falk_steinhauer) Assigned to: Nobody/Anonymous (nobody) Summary: Bug in catlib.py (Problems with caching-mechanism)
Initial Comment: I detected a bug in catlib.py that is due to the caching-functionality. Line 132 (if not page in cache:) causes problems.
If an article is part of [[Category:A]] and [[Category:B]] and a script iterates over both categories, the article is not yielded by catB.articles() because it was cached during an earlier call of catA.articles().
It would be better if the call of catB.articles() really yields all articles in this category, because sometimes the plain names of the articles are of interest.
I did not fix the bug by myself, because I do not understand the caching-mechanism by now.
My view of the sources is on revision 4720 (updated today).
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1851933...
pywikipedia-l@lists.wikimedia.org