[Wikidata-bugs] [Maniphest] [Commented On] T226709: Add user agent to Wikidata Query UI code examples

2020-01-14 Thread Addshore
Addshore added a comment. > 4:12 PM gehel: did the build being broken stop the query service deploy by any chance? > 4:13 PM Just seeing when those UI changes we had could be expected and what if anything is blocking them > 4:13 PM <+gehel> dcausse, zpapierski: ^^ > 4:13 PM =] > 4:

[Wikidata-bugs] [Maniphest] [Commented On] T226709: Add user agent to Wikidata Query UI code examples

2020-01-14 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. I see no reason why T242640: query/wikidata/gui jenkins build broken should block deploys, since lately we’ve been building the deploy commit manually anyways. TASK DETAIL https://phabricator.wikimedia.org/

[Wikidata-bugs] [Maniphest] [Commented On] T226709: Add user agent to Wikidata Query UI code examples

2020-01-14 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. In fact https://gerrit.wikimedia.org/r/562497 is already merged, so I think all that’s missing is a `git pull` and `scap sync` on the deployment server? Or something along those lines, at least. TASK DETAIL https://phabricator.wikimedia.org/T226709

[Wikidata-bugs] [Maniphest] [Commented On] T226709: Add user agent to Wikidata Query UI code examples

2020-01-07 Thread Addshore
Addshore added a comment. Just checked back on this and still waiting for a deployment :) TASK DETAIL https://phabricator.wikimedia.org/T226709 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE, Addshore Cc: Addshore, DeSl, Lo

[Wikidata-bugs] [Maniphest] [Commented On] T226709: Add user agent to Wikidata Query UI code examples

2019-12-02 Thread gerritbot
gerritbot added a comment. Change 552541 **merged** by jenkins-bot: [wikidata/query/gui@master] Add default user agent to some more code examples https://gerrit.wikimedia.org/r/552541 TASK DETAIL https://phabricator.wikimedia.org/T226709 EMAIL PREFERENCES https://phabricator.wikime

[Wikidata-bugs] [Maniphest] [Commented On] T226709: Add user agent to Wikidata Query UI code examples

2019-11-22 Thread gerritbot
gerritbot added a comment. Change 552541 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)): [wikidata/query/gui@master] Add default user agent to some more code examples https://gerrit.wikimedia.org/r/552541 TASK DETAIL https://phabricato

[Wikidata-bugs] [Maniphest] [Commented On] T226709: Add user agent to Wikidata Query UI code examples

2019-10-15 Thread gerritbot
gerritbot added a comment. Change 538592 abandoned by Mathew.onipe: Merging from 37ea21e226ec3dcf654f3b2c19adc1edc9117a3c : https://gerrit.wikimedia.org/r/538592 TASK DETAIL https://phabricator.wikimedia

[Wikidata-bugs] [Maniphest] [Commented On] T226709: Add user agent to Wikidata Query UI code examples

2019-09-23 Thread gerritbot
gerritbot added a comment. Change 538375 **merged** by jenkins-bot: [wikidata/query/gui@master] Fix tests for "Add user-agent note to pywikibot code example" https://gerrit.wikimedia.org/r/538375 TASK DETAIL https://phabricator.wikimedia.org/T226709 EMAIL PREFERENCES https://phabr

[Wikidata-bugs] [Maniphest] [Commented On] T226709: Add user agent to Wikidata Query UI code examples

2019-09-21 Thread gerritbot
gerritbot added a comment. Change 538375 had a related patch set uploaded (by Seb35; owner: Seb35): [wikidata/query/gui@master] Fix tests for "Add user-agent note to pywikibot code example" https://gerrit.wikimedia.org/r/538375 TASK DETAIL https://phabricator.wikimedia.org/T226709 E

[Wikidata-bugs] [Maniphest] [Commented On] T226709: Add user agent to Wikidata Query UI code examples

2019-07-15 Thread gerritbot
gerritbot added a comment. Change 523172 **merged** by jenkins-bot: [wikidata/query/gui@master] Add user-agent note to pywikibot code example https://gerrit.wikimedia.org/r/523172 TASK DETAIL https://phabricator.wikimedia.org/T226709 EMAIL PREFERENCES https://phabricator.wikimedia.

[Wikidata-bugs] [Maniphest] [Commented On] T226709: Add user agent to Wikidata Query UI code examples

2019-07-15 Thread gerritbot
gerritbot added a comment. Change 523172 had a related patch set uploaded (by Lokal Profil; owner: Lokal Profil): [wikidata/query/gui@master] Add user-agent note to pywikibot code example https://gerrit.wikimedia.org/r/523172 TASK DETAIL https://phabricator.wikimedia.org/T226709 EMA

[Wikidata-bugs] [Maniphest] [Commented On] T226709: Add user agent to Wikidata Query UI code examples

2019-07-12 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment. In 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 t

[Wikidata-bugs] [Maniphest] [Commented On] T226709: Add user agent to Wikidata Query UI code examples

2019-07-12 Thread Lokal_Profil
Lokal_Profil added a comment. The pywikibot code should handle this already. Should a comment be added to the example snippet to make that explicit? TASK DETAIL https://phabricator.wikimedia.org/T226709 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/

[Wikidata-bugs] [Maniphest] [Commented On] T226709: Add user agent to Wikidata Query UI code examples

2019-07-10 Thread Smalyshev
Smalyshev added a comment. @Legoktm `wikidata/query/gui` repo. IIRC code examples are here: https://phabricator.wikimedia.org/diffusion/WDQG/browse/master/examples/code/ TASK DETAIL https://phabricator.wikimedia.org/T226709 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/pan

[Wikidata-bugs] [Maniphest] [Commented On] T226709: Add user agent to Wikidata Query UI code examples

2019-07-10 Thread Legoktm
Legoktm added a comment. Untested, but I believe the correct code should be: def get_results(endpoint_url, query): sparql = SPARQLWrapper(endpoint_url, agent='MyCoolTool/0.1 f...@example.org') sparql.setQuery(query) sparql.setReturnFormat(JSON) return spa