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