[19:15:39] login-stretch.tools.wmflabs.org down? [19:19:28] it’s been gone for months T311374 [19:20:45] (intentionally 🥳) [19:27:47] Thanks. I am also unable to find the endpoint URL for Wikidata Query Service (re @lucaswerkmeister: it’s been gone for months T311374) [19:28:25] https://query.wikidata.org/sparql ? [19:30:07] Documentation? Any client libraries? (re @lucaswerkmeister: https://query.wikidata.org/sparql ?) [19:31:01] have you attempted to search wikidata.org? or Google? (re @Yetkin: Documentation? Any client libraries?) [19:32:03] yes, I have been using MWAPI for years but could not find anything about WDQS API (re @jeremy_b: have you attempted to search wikidata.org? or Google?) [19:33:10] you didn't say API til now (re @Yetkin: yes, I have been using MWAPI for years but could not find anything about WDQS API) [19:34:07] https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service#Interfacing [19:34:10] I mentioned it in this message (re @Yetkin: Documentation? Any client libraries?) [19:34:34] that doesn't say "API" (re @Yetkin: I mentioned it in this message) [19:34:43] documentation: https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/Wikidata_Query_Help [19:34:59] ok, thanks [19:35:04] https://mediawiki.org/wiki/Wikidata_Query_Service/User_Manual#SPARQL_endpoint [19:35:09] client libraries: if you use the UI at query.wikidata.org, there’s a “code” button after running a query that generates code snippets to run the query in several languages, some of them use libraries [19:35:39] (but SPARQL is a standard protocol so you probably won’t find many “WDQS libraries” specifically) [19:36:29] oh, I can see it now. Thanks for this 😊 (re @lucaswerkmeister: client libraries: if you use the UI at query.wikidata.org, there’s a “code” button after running a query that generates code sni...) [23:44:15] PHP hook question: I'm trying to use this hook: [[Manual:Hooks/CategoryViewer::generateLink]], and would like to make the function depend on the name of the category I'm on. How can I access the current page name when the current page is not passed to the hook as a parameter? [23:53:33] @jhobsy: It looks like the hook used to offer that and then it was removed in . [23:54:16] ☹️ [23:56:38] ah I think I'm reading that wrong. that change was just migrating from Title to PageReference I think [23:57:33] * bd808 doesn't do enough MW to track the various Title -> (smaller things) refactors [23:57:48] ah, ok