[Wikidata-bugs] [Maniphest] T307596: User documentation for authentication on WCQS

2022-09-26 Thread Gehel
Gehel closed this task as "Resolved".
Gehel added a comment.


  Documentation has been advertised on the Wikidata & Commons mailing list, we 
can now close this.

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

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

To: EBernhardson, Gehel
Cc: EBernhardson, GFontenelle_WMF, Dominicbm, Zbyszko, Aklapper, Gehel, 
Astuthiodit_1, AWesterinen, karapayneWMDE, Invadibot, MPhamWMF, maantietaja, 
CBogen, ItamarWMDE, Akuckartz, Nandana, Namenlos314, Lahi, Gq86, 
Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T307596: User documentation for authentication on WCQS

2022-09-16 Thread Gehel
Gehel added a comment.


  Documentation is published on 
https://commons.wikimedia.org/wiki/Commons:SPARQL_query_service/API_endpoint

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

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

To: EBernhardson, Gehel
Cc: EBernhardson, GFontenelle_WMF, Dominicbm, Zbyszko, Aklapper, Gehel, 
Astuthiodit_1, AWesterinen, karapayneWMDE, Invadibot, MPhamWMF, maantietaja, 
CBogen, ItamarWMDE, Akuckartz, Nandana, Namenlos314, Lahi, Gq86, 
Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T307596: User documentation for authentication on WCQS

2022-09-12 Thread EBernhardson
EBernhardson added a comment.


  Proposed documentation: P34534 
  
  I'm intending to update the wiki page after WCQS deployment and re-verifying 
the updates work as expected.

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

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

To: EBernhardson
Cc: EBernhardson, GFontenelle_WMF, Dominicbm, Zbyszko, Aklapper, Gehel, 
Astuthiodit_1, AWesterinen, karapayneWMDE, Invadibot, MPhamWMF, maantietaja, 
CBogen, ItamarWMDE, Akuckartz, Nandana, Namenlos314, Lahi, Gq86, 
Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T307596: User documentation for authentication on WCQS

2022-09-06 Thread EBernhardson
EBernhardson moved this task from Ready for Development to In Progress on the 
Discovery-Search (Current work) board.
EBernhardson claimed this task.

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

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

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

To: EBernhardson
Cc: EBernhardson, GFontenelle_WMF, Dominicbm, Zbyszko, Aklapper, Gehel, 
Astuthiodit_1, AWesterinen, karapayneWMDE, Invadibot, MPhamWMF, maantietaja, 
CBogen, ItamarWMDE, Akuckartz, Nandana, Namenlos314, Lahi, Gq86, 
Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T307596: User documentation for authentication on WCQS

2022-08-23 Thread EBernhardson
EBernhardson added a comment.


  I still can't see it worthwhile to document the existing workflow. It's so 
convoluted that I suspect anyone that's willing to follow it would simply 
monitor the connections in their web browsers development inspector and 
recreate what they see without any explicit documentation required.
  
  Instead in T306899  i've reworked 
the re-authentication flow to use a second cookie that will allow the 
documentation to be written in a sane manner.

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

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

To: EBernhardson
Cc: EBernhardson, GFontenelle_WMF, Dominicbm, Zbyszko, Aklapper, Gehel, 
Astuthiodit_1, AWesterinen, karapayneWMDE, Invadibot, MPhamWMF, maantietaja, 
CBogen, ItamarWMDE, Akuckartz, Nandana, Namenlos314, Lahi, Gq86, 
Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T307596: User documentation for authentication on WCQS

2022-05-09 Thread MPhamWMF
MPhamWMF set the point value for this task to "5".

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

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

To: MPhamWMF
Cc: Dominicbm, Zbyszko, Aklapper, Gehel, Astuthiodit_1, karapayneWMDE, 
Invadibot, MPhamWMF, maantietaja, CBogen, ItamarWMDE, Akuckartz, Nandana, 
Namenlos314, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, 
EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, 
jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T307596: User documentation for authentication on WCQS

2022-05-09 Thread MPhamWMF
MPhamWMF moved this task from Incoming to Current work on the 
Wikidata-Query-Service board.
MPhamWMF added a project: Discovery-Search (Current work).

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

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

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

To: MPhamWMF
Cc: Dominicbm, Zbyszko, Aklapper, Gehel, Astuthiodit_1, karapayneWMDE, 
Invadibot, MPhamWMF, maantietaja, CBogen, ItamarWMDE, Akuckartz, Nandana, 
Namenlos314, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, 
EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, 
jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T307596: User documentation for authentication on WCQS

2022-05-05 Thread Dominicbm
Dominicbm added a comment.


  Also relevant to this task: most of the code samples provided in WCQS for a 
query (the button next to "download", "link") will not work without 
authentication, so this code needs to be updated or clarified in accompanying 
text.

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

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

To: Dominicbm
Cc: Dominicbm, Zbyszko, Aklapper, Gehel, Astuthiodit_1, karapayneWMDE, 
Invadibot, MPhamWMF, maantietaja, CBogen, ItamarWMDE, Akuckartz, Nandana, 
Namenlos314, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, 
EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, 
jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T307596: User documentation for authentication on WCQS

2022-05-04 Thread Dominicbm
Dominicbm added subscribers: Zbyszko, Dominicbm.
Dominicbm added a comment.


  I looked into this more and found a breadcrumb here: 
https://commons.wikimedia.org/wiki/Commons:SPARQL_query_service#API_endpoint
  
  That lead me to a year-old SO comment 

 from @Zbyszko, but aside from being so old it's using the wmflabs.org URL, the 
method doesn't quite work.  However, by looking at the request headers in the 
browser, I realized if you use Zbyszko's approach but send `"cookie": 
"wcqsSession="`, this works. So here is a working example:
  
  https://public.paws.wmcloud.org/User:Dominic/WCQS%20API%20access.ipynb
  
  I realize my token is exposed publicly there, but since you can only use it 
for queries in the WCQS anyway, and it will expire in a bit, it seems fine.
  
  Some other questions I would like to see still in documentation:
  
  1. How to generate the wcqsSession token? Even if it's a different call to 
MWAPI, can I do it via API calls?
  2. If you must be logged in via browser because the user needs to click the 
"allow" button, can a URL be generated that can open the authorization popup on 
Commons in one click, or must the user load WCQS and then allow it to redirect 
them to the permission screen?
  3. What is the expected expiry period for the session token? I haven't seen 
it in a while in the browser, is it based on time since recent activity rather 
than a set amount?
  4. Is the wcqsSession token destroyed if a user logs out of their Wikimedia 
account?
  5. Since user is authenticated and can be tracked, are there rate limits or 
other controls? (Trying to determine if we built this into a public web app 
where many users could be querying WCQS concurrently form the same token, would 
they hit limits?)

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

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

To: Dominicbm
Cc: Dominicbm, Zbyszko, Aklapper, Gehel, Astuthiodit_1, karapayneWMDE, 
Invadibot, MPhamWMF, maantietaja, CBogen, ItamarWMDE, Akuckartz, Nandana, 
Namenlos314, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, 
EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, 
jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T307596: User documentation for authentication on WCQS

2022-05-04 Thread Maintenance_bot
Maintenance_bot added a project: Wikidata.

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

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

To: Maintenance_bot
Cc: Aklapper, Gehel, Astuthiodit_1, karapayneWMDE, Invadibot, MPhamWMF, 
maantietaja, CBogen, ItamarWMDE, Akuckartz, Nandana, Namenlos314, Lahi, Gq86, 
Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T307596: User documentation for authentication on WCQS

2022-05-04 Thread Gehel
Gehel created this task.
Gehel added a project: Wikidata-Query-Service.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  As a user of WCQS, I need to understand how to integrate with the current 
authentication scheme on WCQS.
  
  The current authentication is reasonable to understand as a simple user. For 
more advance use cases, like programmatic access or embedding, the process is 
convoluted and documentation is needed.

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

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

To: Gehel
Cc: Aklapper, Gehel, MPhamWMF, CBogen, Namenlos314, Gq86, 
Lucas_Werkmeister_WMDE, EBjune, merbst, Jonas, Xmlizer, jkroll, Wikidata-bugs, 
Jdouglas, aude, Tobias1984, Manybubbles
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org