Lucas_Werkmeister_WMDE added a comment.

  In T226709#5328607 <https://phabricator.wikimedia.org/T226709#5328607>, 
@Lokal_Profil wrote:
  
  > The pywikibot code should handle this already. Should a comment be added to 
the example snippet to make that explicit?
  
  A comment to indicate where to adjust the user agent would be nice, it took 
me a while just to find the code that does it (`pywikibot/comms/http.py`, I 
think?) and I still wouldn’t be sure how to adjust it if I was running my own 
bot (but perhaps that’s just because I’m not very familiar with pywikibot).
  
  But the comment in the task description is just from me searching for things 
like “user agent” in the code samples and not finding anything outside of Ruby 
– the pywikibot default already sounds better than nothing, so that’s not as 
urgent.

TASK DETAIL
  https://phabricator.wikimedia.org/T226709

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lokal_Profil, Smalyshev, abian, Legoktm, ImreSamu, Alicia_Fagerving_WMSE, 
Aklapper, Lucas_Werkmeister_WMDE, darthmon_wmde, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Salgo60, _jensen, 
rosalieper, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, 
Manybubbles, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to