Bugs item #2890078, was opened at 2009-10-31 16:53
Message generated for change (Comment added) made by nakor-wikipedia
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=289007…
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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nakor Wikipedia (nakor-wikipedia)
Assigned to: Nobody/Anonymous (nobody)
Summary: Issue in userlib.py
Initial Comment:
userlib.contributions() changed the format it outputs. Please revert to the previous
format %Y-%m-%dT%H:%M:%SZ .
The new format should be proposed as an option. Just changing the format without
compatibility breaks existing scripts.
----------------------------------------------------------------------
Comment By: Nakor Wikipedia (nakor-wikipedia)
Date: 2010-01-10 18:53
Message:
Here is the patch for fixing this issue. Please commit it.
Index: userlib.py
===================================================================
--- userlib.py (revision 7869)
+++ userlib.py (working copy)
@@ -223,7 +223,7 @@
for c in result['query']['usercontribs']:
yield (wikipedia.Page(self.site(), c['title'],
defaultNamespace=c['ns']),
c['revid'],
- wikipedia.parsetime2stamp(c['timestamp']),
+ c['timestamp'],
c['comment']
)
nbresults += 1
----------------------------------------------------------------------
Comment By: Nakor Wikipedia (nakor-wikipedia)
Date: 2009-10-31 17:01
Message:
Below is the patch for fixing this issue:
Index: userlib.py
===================================================================
--- userlib.py (revision 7576)
+++ userlib.py (working copy)
@@ -249,7 +249,7 @@
for c in result['query']['usercontribs']:
yield (wikipedia.Page(self.site(), c['title'],
defaultNamespace=c['ns']),
c['revid'],
- wikipedia.parsetime2stamp(c['timestamp']),
+ c['timestamp'],
c['comment']
)
nbresults += 1
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=289007…