Patches item #3011428, was opened at 2010-06-04 10:13
Message generated for change (Tracker Item Submitted) made by stanlekub
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=301142…
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: rewrite
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: stanlekub (stanlekub)
Assigned to: Nobody/Anonymous (nobody)
Summary: Improved User() class in rewrite
Initial Comment:
The attached patch pretends to improve the User() class of the rewrite branch:
* Backward compatibility issues:
** Add the name() method that was missing.
** registrationTime() now correctly returns a long instead of a string.
** fix discrepancy between str/unicode in return values.
** uploadedImages() now yields ImagePage() instead of Page() objects.
* Miscellaneous improvements:
** Add support for so-called anonymous users.
** getprops() now uses the Site's .users() method instead of a direct api query.
** registrationTime() is deprecated in favor of registration(), which returns a
pywikibot.Timestamp instead of a string.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=301142…