[11:13:18] legoktm: you there? :) [11:13:27] q 'bout a maintenance script [11:17:54] Hauskatze: nope, I'm not here [11:19:09] k [14:03:31] Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @leszek_wmde & @Pablo_WMDE - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [15:01:00] Hello and welcome to the weekly Technical Advice IRC Meeting with leszek_wmde and me [15:01:12] https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [15:23:37] seems like everyone is watching soccer� [15:24:58] Nudin_WMDE: to heat up the room a bit: it is called football [15:25:17] :) [15:32:49] We've reached the half time of today's meeting, but we continue without a break! All questions welcome! [15:36:31] hello. Are experts on MediaWiki API and scripts around? [15:38:06] Hello. We try our best [15:41:15] Pablo_WMDE: any advice on https://meta.wikimedia.org/wiki/Tech#Integration_of_CentralAuth_into_Gadget-markblocked.js_or_similar ? [15:44:58] * Pablo_WMDE reading [15:49:02] agree that per-user API requests are not a solution [15:49:15] qq[IrcCity]: forgive my silly question, trying to understand your use case. I assume list=globalblocks is not what you're up to? [15:50:14] leszek_wmde, I want a query for multiple usernames, for performance reasons. [15:50:22] oh, i see [15:51:06] so the input would be a list of user names, and what is the data you would like to get out? [15:52:00] at very least which accounts are globally locked. [15:54:47] qq[IrcCity]: thanks for your patience. Now I get it [15:55:36] qq[IrcCity]: Sadly, I think there might no optimal way to do it with the way list=globalallusers works [15:56:57] leszek_wmde: some rewrite for API of the extension, perhaps? [15:57:58] qq[IrcCity]: possibly. I imagine existing some API action code use adding a parameter [15:58:38] in particular, when I compar list=block and list=globalblocks, would adding somthing like bgusers (per bkusers of list=blocks) serve the purpose you're trying to have? [16:02:19] leszek_wmde: looks to be a possible solution. [16:03:36] in this case, what Tgr said on discourse forum might sadly be the best way to get the feature in: by implementing it itself [16:03:47] And it would be good to make action=query more uniform, in general. [16:04:02] you could also try opening a task on phabricator regarding this particular case [16:04:15] I imagine that API gurus would say something there [16:04:54] Better to go to Phab rather than trying to write a patch myself? [16:06:20] qq[IrcCity]: well, writing a phabricator ticket seems easy, just need to discribe what is your problem, and what you is missing. But does not guarantee that anyone else writes the code indeed [16:06:25] but still worth doing IMO [16:06:53] then, if you feel like writing the code, that's great. You could then reference the phab task from the code patch [16:07:08] so the need for code is more clear for reviewers etc [16:07:12] Alright, that concludes the Technical Advice IRC Meeting [16:07:22] If you missed it, don’t forget you can always ask your questions on the Wikimedia Developer Support forum! https://discourse-mediawiki.wmflabs.org/ [16:07:28] Thanks for advices. [16:34:45] qq[IrcCity]: pretty sure there is a task for that already [16:34:51] maybe a WIP patch as well [16:35:09] the WMF Community Tech team wanted it at some point [19:28:41] hey, there is a problem on Commons with the database [19:29:14] I'm getting API errors and some strange stuff like https://commons.wikimedia.org/wiki/File:DJM_und_SMK_2018-05-31_WK_621_200m_Schmetterling_weiblich_Mehrkampf_013.jpg [19:31:05] API request failed (internal_api_error_DBQueryError): [WzPl3wpAIDYAAF1ZcmYAAAAC] Database query error. at Wed, 27 Jun 2018 19:30:57 GMT served by mw1342 [19:32:35] Same for UI edits: [WzPmNgpAMFQAAK-3yloAAAAW] 2018-06-27 19:32:23: Fataler Ausnahmefehler des Typs „Wikimedia\Rdbms\DBQueryError“ [19:35:51] anyone here with database access who could help? [19:37:23] it's filed as https://phabricator.wikimedia.org/T198350 [19:38:54] thanks, MatmaRex [20:44:21] The traslator is terrible [20:50:13] Thanks?