[15:00:39] Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @Lucas_WMDE & @James_F - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [15:02:12] fake news [15:02:14] I’ll update the wiki [15:02:41] oh, we even have hosts! [15:32:37] Lucas_WMDE: Hey. ;-) [15:33:16] hi :) [15:50:24] Technical Advice IRC meeting starting in 10 minutes in channel #wikimedia-tech, hosts: @CFisch_WMDE & @James_F - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [15:51:12] I'll take questions from now, if needed. :-) [15:57:08] hiii [15:57:44] Welcome, MMK21Games. [16:00:10] Hello all. Happy to take any questions! [16:02:44] I have one you might be able to help me with, James: I've created https://gerrit.wikimedia.org/r/c/oojs/ui/+/542079, but it hasn't seen any activity recently. Who should I ping to get it reviewed? The same also applies to https://gerrit.wikimedia.org/r/c/mediawiki/core/+/544296, I could only find Aaron Schulz as maintainer for that part of MW [16:05:09] Oh, right. [16:05:32] For the OOUI one, I'll leave that to Volker_E – will ping him in person about it. [16:07:33] For the MW core one, that area is owned by the Core Platform Team; if you want them to review it, create a Phabricator task for the changes you're trying to make and tag in their team (#Core-Platform-Team), explain that you need them to do code review, and you should get it within a week. [16:08:40] Specifically they'll triage it into the Clinic Duty Team board if they agree. [16:09:08] Ah, right, I read about that. I'll go do that, thanks! [16:10:28] I also have a question about https://phabricator.wikimedia.org/T237873, which deals with deprecating/removing the old extension schema change globals that were effectively deprecated (but not officially) with 1.17. [16:10:58] James_F; I also would like to know who to ask for review: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CentralAuth/+/549586 [16:11:44] The task notes that the only extensions using it are using it as back-compat, which hasn't been relevant for a while now. I'm also unaware of any deprecation policy for these globals; they're only defined when the DatabaseUpdater is run, not in DefaultSettings.php. Do they need deprecation? (And how do you deprecate a global?) [16:12:20] mainframe98: To deprecate, in DatabaseUpdater throw a wfDeprecated if any of them are non-[], I guess. [16:12:39] Alternatively, I think it's reasonable to just remove them; it's been a decade. [16:13:31] But if we're going to just remove them without deprecation, that'll need an e-mail to wikitech-l as a heads-up. [16:14:30] tassu: Interesting. I think you should tag in the Core Platform Team for that task. [16:14:37] I'll create a patch and send an email to wikitech-l then, thanks! [16:15:04] mainframe98: Cool. [16:15:18] That's not a person who you can just request a review in Gerrit, right? [16:15:49] tassu: Sorry, I meant, do the same as I suggested to mainframe98; however, as your patch is already associated with a task, I've requested it on your behalf. [16:15:58] Hopefully they'll get to it soon. [16:16:14] Thank you, appreciate it. [16:17:29] Wow, there are entirely too many repos still using wgExtensionCredits. [16:18:44] I bet a lot of them won't work with supported recent versions of MediaWiki anymore. Perhaps we should do a extension cleanup drive some day [16:19:13] Yeah, I was thinking the same. [16:19:24] is there a maintenance script or tool or class (!) that would let me easily get the list of images on a local wiki that are not used anywhere except for the respective File: page? (yes i have a real life use case, I looked but didn't find anything but maybe someone knows....) [16:19:28] Anyway, for another time. [16:20:02] apergos: Special:UnusedFiles [16:20:12] assume that's out of date [16:20:17] 9because it is in my case) [16:20:21] The data, or the code? [16:20:25] the data [16:20:38] It should be updated by the job queue unless you're in miser mode. [16:20:47] i'm in wikitech-static mode [16:21:00] Maybe there's not a cron job set up for wikitech-static? [16:21:07] I am sure there is not. [16:21:16] what script would run for that? [16:21:23] we won't job queue things to there [16:21:39] https://wikitech.wikimedia.org/wiki/Special:UnusedFiles looks roughly right from a quick skim of results. [16:21:57] Erm. [16:21:58] for wikitech prod it is [16:22:03] for wikitech static it ain't [16:22:18] Yeah, MW is fundamentally not designed to work "statically". [16:22:34] The entire wikitech-static enterprise is… well, a mess. [16:22:52] I have a crufty plan (imagelinks vs image table entries etc) but was wondering if I was overlooking something known and already invented [16:23:34] Maybe refreshLinks will be sufficient? [16:23:48] apergos: couldn't you use https://www.mediawiki.org/wiki/Manual:UpdateSpecialPages.php with the --only flag? [16:24:08] I don't know. happy to look at both of those and then see if we can get special:unused from the api [16:24:14] (to feed into a cleanup script) [16:24:21] those are both good ideas, thanks! [16:24:52] Good luck. And please report back on whether it works! [16:27:56] it will be a long time before I get to it; this is me doing due dilligence on a task created for $someone_with_free_time that can do that image cleanup [16:28:08] but i have added your suggestions to the task, thanks again! [16:28:16] https://phabricator.wikimedia.org/T239807 [16:28:17] * James_F gruns. [16:28:20] Err. [16:28:22] * James_F grins, even. [16:28:30] between a grin and a grunt [16:43:41] * apergos shamelessly solicits other questions [16:43:57] 15 minutes to go, please don't be shy but step right up! [16:46:17] You can also ask questions later, if you don't think of it right now. [16:59:39] OK, well, thank you all for your questions! See you next week. [17:05:23] thanks for hosting! [17:11:48] bye!