Patches item #3603143, was opened at 2013-02-02 16:46 Message generated for change (Tracker Item Submitted) made by atdt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3603143...
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: Ori Livneh (atdt) Assigned to: Nobody/Anonymous (nobody) Summary: Make the user-agent string more descriptive
Initial Comment: The current default (and widely-used) user-agent string for Pywikipedia bot is "PythonWikipediaBot/1.0". This is both inconsistent with the documentation (which claims it is "Pywikipediabot/1.0") and not as informative as it could be. This patch changes the default user-agent string format to "Pywikipediabot/1.0 (r<revId>; <scriptName>)", where 'revId' is the SVN revision of Pywikipedia and 'scriptName' is the tail path component and file name of the currently executing script. Here is a full example: "Pywikipediabot/1.0 (r11026; pywikipedia/wikipedia.py)"
The name of the currently executing script could help developers and ops engineers at the Wikimedia Foundation pinpoint client implementation issues. For example, some implementations do not efficiently batch requests for multiple titles, but without a more descriptive user-agent string it is hard to know whom to notify or where to submit a patch.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3603143...
pywikipedia-bugs@lists.wikimedia.org