2019-12-04 15:00:39
|
<wm-bot>
|
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
|
2019-12-04 15:02:12
|
<Lucas_WMDE>
|
fake news
|
2019-12-04 15:02:14
|
<Lucas_WMDE>
|
I’ll update the wiki
|
2019-12-04 15:02:41
|
<Lucas_WMDE>
|
oh, we even have hosts!
|
2019-12-04 15:32:37
|
<James_F>
|
Lucas_WMDE: Hey. ;-)
|
2019-12-04 15:33:16
|
<Lucas_WMDE>
|
hi :)
|
2019-12-04 15:50:24
|
<wm-bot>
|
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
|
2019-12-04 15:51:12
|
<James_F>
|
I'll take questions from now, if needed. :-)
|
2019-12-04 15:57:08
|
<MMK21Games>
|
hiii
|
2019-12-04 15:57:44
|
<James_F>
|
Welcome, MMK21Games.
|
2019-12-04 16:00:10
|
<James_F>
|
Hello all. Happy to take any questions!
|
2019-12-04 16:02:44
|
<mainframe98>
|
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
|
2019-12-04 16:05:09
|
<James_F>
|
Oh, right.
|
2019-12-04 16:05:32
|
<James_F>
|
For the OOUI one, I'll leave that to Volker_E – will ping him in person about it.
|
2019-12-04 16:07:33
|
<James_F>
|
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.
|
2019-12-04 16:08:40
|
<James_F>
|
Specifically they'll triage it into the Clinic Duty Team board if they agree.
|
2019-12-04 16:09:08
|
<mainframe98>
|
Ah, right, I read about that. I'll go do that, thanks!
|
2019-12-04 16:10:28
|
<mainframe98>
|
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.
|
2019-12-04 16:10:58
|
<tassu>
|
James_F; I also would like to know who to ask for review: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CentralAuth/+/549586
|
2019-12-04 16:11:44
|
<mainframe98>
|
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?)
|
2019-12-04 16:12:20
|
<James_F>
|
mainframe98: To deprecate, in DatabaseUpdater throw a wfDeprecated if any of them are non-[], I guess.
|
2019-12-04 16:12:39
|
<James_F>
|
Alternatively, I think it's reasonable to just remove them; it's been a decade.
|
2019-12-04 16:13:31
|
<James_F>
|
But if we're going to just remove them without deprecation, that'll need an e-mail to wikitech-l as a heads-up.
|
2019-12-04 16:14:30
|
<James_F>
|
tassu: Interesting. I think you should tag in the Core Platform Team for that task.
|
2019-12-04 16:14:37
|
<mainframe98>
|
I'll create a patch and send an email to wikitech-l then, thanks!
|
2019-12-04 16:15:04
|
<James_F>
|
mainframe98: Cool.
|
2019-12-04 16:15:18
|
<tassu>
|
That's not a person who you can just request a review in Gerrit, right?
|
2019-12-04 16:15:49
|
<James_F>
|
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.
|
2019-12-04 16:15:58
|
<James_F>
|
Hopefully they'll get to it soon.
|
2019-12-04 16:16:14
|
<tassu>
|
Thank you, appreciate it.
|
2019-12-04 16:17:29
|
<James_F>
|
Wow, there are entirely too many repos still using wgExtensionCredits.
|
2019-12-04 16:18:44
|
<mainframe98>
|
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
|
2019-12-04 16:19:13
|
<James_F>
|
Yeah, I was thinking the same.
|
2019-12-04 16:19:24
|
<apergos>
|
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....)
|
2019-12-04 16:19:28
|
<James_F>
|
Anyway, for another time.
|
2019-12-04 16:20:02
|
<James_F>
|
apergos: Special:UnusedFiles
|
2019-12-04 16:20:12
|
<apergos>
|
assume that's out of date
|
2019-12-04 16:20:17
|
<apergos>
|
9because it is in my case)
|
2019-12-04 16:20:21
|
<James_F>
|
The data, or the code?
|
2019-12-04 16:20:25
|
<apergos>
|
the data
|
2019-12-04 16:20:38
|
<James_F>
|
It should be updated by the job queue unless you're in miser mode.
|
2019-12-04 16:20:47
|
<apergos>
|
i'm in wikitech-static mode
|
2019-12-04 16:21:00
|
<James_F>
|
Maybe there's not a cron job set up for wikitech-static?
|
2019-12-04 16:21:07
|
<apergos>
|
I am sure there is not.
|
2019-12-04 16:21:16
|
<apergos>
|
what script would run for that?
|
2019-12-04 16:21:23
|
<apergos>
|
we won't job queue things to there
|
2019-12-04 16:21:39
|
<James_F>
|
https://wikitech.wikimedia.org/wiki/Special:UnusedFiles looks roughly right from a quick skim of results.
|
2019-12-04 16:21:57
|
<James_F>
|
Erm.
|
2019-12-04 16:21:58
|
<apergos>
|
for wikitech prod it is
|
2019-12-04 16:22:03
|
<apergos>
|
for wikitech static it ain't
|
2019-12-04 16:22:18
|
<James_F>
|
Yeah, MW is fundamentally not designed to work "statically".
|
2019-12-04 16:22:34
|
<James_F>
|
The entire wikitech-static enterprise is… well, a mess.
|
2019-12-04 16:22:52
|
<apergos>
|
I have a crufty plan (imagelinks vs image table entries etc) but was wondering if I was overlooking something known and already invented
|
2019-12-04 16:23:34
|
<James_F>
|
Maybe refreshLinks will be sufficient?
|
2019-12-04 16:23:48
|
<mainframe98>
|
apergos: couldn't you use https://www.mediawiki.org/wiki/Manual:UpdateSpecialPages.php with the --only flag?
|
2019-12-04 16:24:08
|
<apergos>
|
I don't know. happy to look at both of those and then see if we can get special:unused from the api
|
2019-12-04 16:24:14
|
<apergos>
|
(to feed into a cleanup script)
|
2019-12-04 16:24:21
|
<apergos>
|
those are both good ideas, thanks!
|
2019-12-04 16:24:52
|
<James_F>
|
Good luck. And please report back on whether it works!
|
2019-12-04 16:27:56
|
<apergos>
|
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
|
2019-12-04 16:28:08
|
<apergos>
|
but i have added your suggestions to the task, thanks again!
|
2019-12-04 16:28:16
|
<apergos>
|
https://phabricator.wikimedia.org/T239807
|
2019-12-04 16:28:17
|
<James_F>
|
gruns.
|
2019-12-04 16:28:20
|
<James_F>
|
Err.
|
2019-12-04 16:28:22
|
<James_F>
|
grins, even.
|
2019-12-04 16:28:30
|
<apergos>
|
between a grin and a grunt
|
2019-12-04 16:43:41
|
<apergos>
|
shamelessly solicits other questions
|
2019-12-04 16:43:57
|
<apergos>
|
15 minutes to go, please don't be shy but step right up!
|
2019-12-04 16:46:17
|
<James_F>
|
You can also ask questions later, if you don't think of it right now.
|
2019-12-04 16:59:39
|
<James_F>
|
OK, well, thank you all for your questions! See you next week.
|
2019-12-04 17:05:23
|
<apergos>
|
thanks for hosting!
|
2019-12-04 17:11:48
|
<MMK21Games>
|
bye!
|