Lucas_Werkmeister_WMDE created this task.
Lucas_Werkmeister_WMDE added projects: Wikidata, Wikidata Query UI.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  As a developer, I want to use the code examples provided by the Wikidata 
Query UI in order to use the Wikidata Query Service from my 
tool/bot/script/whatever, without running afoul of any Wikimedia policies or 
service constraints.
  
  **Problem:**
  The code examples generated by the Wikidata Query UI do not set any special 
`User-Agent` header (except for the Perl example, which prepends “MyApp/0.1 ” 
to the default user agent <https://metacpan.org/pod/LWP::UserAgent#agent>). 
This violates the User-Agent policy 
<https://meta.wikimedia.org/wiki/User-Agent_policy> and can result in the 
script getting blocked (for example, the default python-requests user agent is 
currently blocked completely 
<https://lists.wikimedia.org/pipermail/wikidata/2019-June/013161.html>.)
  
  **BDD**
  GIVEN 
  AND 
  WHEN
  AND
  THEN
  AND
  
  **Acceptance criteria:**
  
  - Every code example sets a custom user agent
  - The code advises the developer to adjust that user agent further

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

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

To: Lucas_Werkmeister_WMDE
Cc: Aklapper, Lucas_Werkmeister_WMDE, darthmon_wmde, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Salgo60, _jensen, 
rosalieper, Jonas, Xmlizer, jkroll, Smalyshev, 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