[00:47:09] [[Tech]]; DeirgeDel; Problems tryiing to register continue.; https://meta.wikimedia.org/w/index.php?diff=24568745&oldid=24557473&rcid=26382811 [00:50:14] [[Tech]]; Izno; Undo revision 24568745 by [[Special:Contributions/DeirgeDel|DeirgeDel]] ([[User talk:DeirgeDel|talk]]) Please stop removing other people's comments. Thanks.; https://meta.wikimedia.org/w/index.php?diff=24568775&oldid=24568745&rcid=26382854 [00:53:35] Oh, that's djm-leighpark [00:53:45] it makes sense now [02:45:41] u guys run the upload servers to commons as well yah? [02:47:28] i have had the issue of dyna.wikimedia.org server running pretty slow (20-40kbps) when uploading files bigger than 5mb to commons, its not an issue on my side..sometimes have to upload an image 5 times before it goes through [14:16:44] can I not use templates in a block? [14:23:22] taavi: {{#tag:syntaxhighlight|{{...}}}} seems to work though [14:23:44] hm [14:26:28] oh yeah that works https://wikitech.wikimedia.org/w/index.php?title=Help%3AToolforge%2FPython&diff=prev&oldid=2054770&diffmode=source [14:27:02] nice [15:01:28] and how do I sort a lua table by key in alphabetical order? [15:05:42] "lua table" ? [15:09:37] a table in a scribunto module [15:16:00] taavi: stackoverflow says you need to sort the keys separately https://stackoverflow.com/a/26166560/1420237 [15:16:11] I’m not sure if `table.sort()` is the alphabetical sort you’re looking for though [15:17:13] ahh that might be it. I saw that post but just blindly copied `table.sort()` and wondered why it did not work [15:17:45] ok, table.sort(t) is giving me an alphabetical sort for {"abc", "abb", "ad", "def", "aaa"} at least [15:18:51] yeah that works. thanks! [15:19:24] yay [15:20:08] taavi: you might also find https://lucaswerkmeister.de/posts/2022/03/20/mw-lua-for-non-lua-programmers/ useful (I don’t know how much Lua experience you have) [16:23:09] [[Tech]]; DeirgeDel; /* Attempting to set up account on phabricator.wikimedia.org */ Close thread to raise on Mediawike per suggested help. Thanks for the really great help suggest I accidently. Thankyou again.; https://meta.wikimedia.org/w/index.php?diff=24572304&oldid=24568775&rcid=26390286 [16:35:31] o/ hiya all: we're extending the deadline for the *2023 Developer Satisfaction Survey*—everyone has until Fri, 24 Feb 2023 [16:36:32] I’m pretty sure I’ve done it [16:38:16] so far we've got 130 total responses with a 70/30 staff/volunteer split (staff includes wmf/wmde/affiliates) and we're hoping to hit 150 total (and even out the volunteer split, too). Link: https://wikimediafoundation.limesurvey.net/484133 Privacy statement: https://foundation.wikimedia.org/wiki/Legal:2023_Developer_Satisfaction_Survey_Privacy_Statement [16:38:19] <3 RhinosF1 [16:38:55] thcipriani: go go go! [16:39:00] :D [16:39:08] (/^ヮ^)/*:・゚✧ [16:39:34] thcipriani: it’s also been one of the weeks where I’ve been everywhere and my brain is very broken by Friday so there’s an equal chance that I clicked the link and never did it [16:39:39] RhinosF1: I’m also “pretty sure”… there’s no way to see it in limesurvey, right? [16:40:02] Lucas_WMDE: I was hoping thcipriani could enlighten us on that [16:40:03] I could’ve searched the link in my firefox history, but I already clicked it again and firefox only keeps the timestamp of the last visit 😔 [16:41:32] yeah, I think that's accurate. Let me check with Global Data and Insights (who are helping us with all the survey bits). But since we didn't enable their equivalent of Hardcore Tracking™ I think you have to rely on your memory of whether you've completed it or not. Lemme check. [16:46:38] RhinosF1 just do it again, I bet you clicked the link and then something happened on IRC:) [16:50:11] I can say "Participants can save partially finished surveys" is on, but "Participant-based response persistence is off" and "Public registration" is off (and, TIL, we're using the "fruity" theme). Global Data & Insight folks are verifying what this means for me currently, but tentatively said they think what I said here is right. [17:32:46] Before I waste a hour writing this, does anyone know of a Lua module that has code to take a full URL and return an intrawiki title if the URL is pointing at Wikimedia wiki? I'm hoping for something that would change `https://en.wikipedia.org/wiki/NOFX` to `w:NOFX` or `w:en:NOFX`. [18:53:49] Hey bd808, could you re-kick xmlrcs for us please? [18:54:03] *sigh* yeah [18:54:09] Thanks, sorry for the ping. [18:58:02] phuzion: it seems to be more broken than down. I'm trying to figure out what the problem is... [18:58:43] Alright thanks for the update. [18:59:50] I think it's working again now. I was just not patient enough for it to attach to the real data feed. [19:02:54] bd808: Yep, it seems to be working. Is there any chance we can get some sort of monitoring on this? Is there a wmfcloud nagios instance or something that we can get that added to? [19:03:21] phuzion: since there are 0 active maintainers I don't know what use active monitoring would be [19:03:39] I'm not going to sign up to get paged for petan's broken app [19:04:18] I've been trying to get access to the instance for a bit, at least so I could restart xmlrcs when it crashes. [19:04:45] The main problem is that the app is written badly and requires human intervention for minor issues like server reboots and dns failures [19:05:45] Yeah. [19:08:55] bd808: is there no way if petan refuses to engage properly you can’t forcefully hand it over to phuzion ? [19:09:19] RhinosF1: I don't know the xmlrcs system nearly well enough to be the POC for it. [19:09:38] phuzion: well you could reboot it or at least be an additional maintainer [19:09:48] So WMCS roots don’t get bothered all the time [19:10:12] RhinosF1: Yeah, I have a phab ticket open to get me access to the box, but it's sitting unanswered, just like the one for TheresNoTime [19:10:14] RhinosF1: We don't have an equivalent of https://wikitech.wikimedia.org/wiki/Help:Toolforge/Abandoned_tool_policy for Cloud VPS, so no. [19:11:10] phuzion: it’s the unanswered id hope we’d have a solution for [19:11:15] bd808: sad :( [19:12:37] tl;dr easier* to become a WMCS root 😌 [19:12:49] phuzion: maybe try directly adding people from https://phabricator.wikimedia.org/project/members/520/ if the project tag is not monitored [19:13:47] This particular mess doesn't even seem to have a git repo or a license... [19:14:02] bd808: https://github.com/huggle/xmlrcs [19:14:56] phuzion: so just no license then I guess. [19:15:18] and no sign that the code in that repo is actually the code running on this instance [19:15:33] but the files could be diffed to find out [19:16:03] the code has GPLv3 headers [19:16:17] ref https://github.com/huggle/XMLRCS/blob/master/clients/c%23/XmlRcs/XmlRcs/RecentChange.cs [19:16:40] https://github.com/huggle/XMLRCS/blob/master/src/es2r/es2r.py does not [19:17:26] * AntiComposite grumbles [19:17:27] That python file is the thing that craps out [19:28:01] Would be be helpful to file an issue on the repo to request a license be added? [19:32:58] phuzion: depends who owns that repo on github I guess. might be more helpful to request either to get access on that repo or to move it to one of the Wikimedia git repos [19:39:31] Petan is reachable btw, and I suspect any missing license is accidental rather than intentional [19:41:19] legoktm: For what it's worth, I've not heard anything from him since 5 Feb. [19:41:31] And I've pinged him three times since then. [19:43:09] well I haven't spoken to him in a few months (last time it needed a OS upgrade), but he always replies to my facebook messages :p [19:44:10] legoktm: If you speak to him again, would you be able to ask him to take a look at T329405 and T321331? [19:44:10] T321331: Grant TheresNoTime membership in the Huggle Cloud VPS project - https://phabricator.wikimedia.org/T321331 [19:44:11] T329405: Grant Phuzion membership in the Huggle Cloud VPS project - https://phabricator.wikimedia.org/T329405 [19:45:02] can't addshore approve those too? https://openstack-browser.toolforge.org/project/huggle [19:45:26] Ah yeah, presumably so [21:12:33] that es2r.py is just 70 lines long [21:12:39] it can't be that bad [21:13:30] all that xml created manually look scary, but actually seem safe [21:14:09] the problem is that ES is not stable, and the service is not stable, and it doesn't do error handling well [21:16:23] I would mosty worry about python unicode issues [21:17:04] * Platonides moves lines 23-72 into a function, and calls it in a loop that catches all exceptions :P [21:41:38] An answer to my question about a Lua module that has code to take a full URL and return an intrawiki title is https://en.wikipedia.org/wiki/Module:Urltowiki [23:04:01] from memory there was a comment somewhere thats its onlly 1 or 2ish patches to revert huggle back to using IRC from the XMLRCS interface, but i'm not sure what impact that would have on the quaility of the data that huggle receives [23:04:41] I'm assuming there was some reason to change to coverting the data into the XMLRCS interface first to service it to huggle [23:17:32] p858snake: at one point there was a push to deprecate the IRC feed. That has kind of died out, but I suppose it could flare back up at any time. [23:18:30] The "official" feed these days is https://wikitech.wikimedia.org/wiki/Event_Platform/EventStreams (but I'm fairly confident there are more consumers of the irc.wikimedia.org channels) [23:22:25] XMLRCS converts the EventStreams feed into something that petan liked better.