Zache created this task.
Zache added projects: StructuredDataOnCommons, Wikidata-Query-Service.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  **Steps to replicate the issue** (include links if applicable):
  
  - Give OAUTH permission on https://commons-query.wikimedia.org
  - Run query ""SELECT ?item ?finna_id WHERE { ?item wdt:P9478 
<https://phabricator.wikimedia.org/P9478> ?finna_id } LIMIT 12" to see it works
  - Run script sparql_test.py to see that OAUTH works
  - Remove OAUTH permission using 
https://commons.wikimedia.org/wiki/Special:OAuthManageMyGrants
  - Remove OAUTH permission
  - Edit sparql_test.py so that query is "SELECT ?item ?finna_id WHERE { ?item 
wdt:P9478 <https://phabricator.wikimedia.org/P9478> ?finna_id } LIMIT 13"
  - Run script sparql_test.py to see that query doesn't work
  - Run query "SELECT ?item ?finna_id WHERE { ?item wdt:P9478 
<https://phabricator.wikimedia.org/P9478> ?finna_id } LIMIT 13" on 
`https://commons-query.wikimedia.org`  to see that works
  - Run script sparql_test.py to see that query now wors
  
  **What happens?**:
  With OAUTH grant removed the sparql_test.py works only if the same query was 
runned on https://commons-query.wikimedia.org first
  
  **Other information** (browser name/version, screenshots, etc.):
  
  F37742281: sparql_test.py <https://phabricator.wikimedia.org/F37742281>

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

WORKBOARD
  https://phabricator.wikimedia.org/project/board/3632/

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

To: Zache
Cc: Aklapper, Zache, AWesterinen, FRomeo_WMF, CBogen, Nintendofan885, JKSTNK, 
Namenlos314, Gq86, Lucas_Werkmeister_WMDE, EBjune, merbst, Jonas, Xmlizer, 
Fuzheado, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Daniel_Mietchen, 
Manybubbles, Lydia_Pintscher
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to