Bugs item #2860956, was opened at 2009-09-17 23:11 Message generated for change (Settings changed) made by siebrand You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2860956...
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: None Group: None
Status: Closed Resolution: Fixed
Priority: 5 Private: No Submitted By: Daniel Bengtsson (cygnus78) Assigned to: Nobody/Anonymous (nobody) Summary: getVersionHistory() does not work anymore
Initial Comment: python version.py Pywikipedia [http] trunk/pywikipedia (r7268, 2009/09/17, 15:52:03) Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3]
I have not investigated very thoroughly but the function returns [] and I can see that the page source no longer matches the regexp. The regexp starts with <li class=".*?"> but the page source does not specify class for <li>. But that is not the only difference. By the way this problem was found using a bot that operates on wikimedia commons.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-09-25 01:55
Message: Fixed in r7305 from #2861291 by mauro742.
----------------------------------------------------------------------
Comment By: Mauro (mauro742) Date: 2009-09-18 11:37
Message: Another problem is in "minor edit".
I post a bugfix here: https://sourceforge.net/tracker/?func=detail&aid=2861291&group_id=93...
----------------------------------------------------------------------
Comment By: Daniel Bengtsson (cygnus78) Date: 2009-09-17 23:21
Message: Actually it seems that the <li class=".*?"> was the only problem. Switching that part to just <li> and it works fine here.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2860956...
pywikipedia-bugs@lists.wikimedia.org