2019-03-20 00:44:43
|
<Seddon>
|
I'm just breaking test2.wikipedia.org briefly with some css tests
|
2019-03-20 00:46:36
|
<Reedy>
|
Seddon: You're the worst
|
2019-03-20 00:48:08
|
<Seddon>
|
Reedy: I try to be
|
2019-03-20 02:20:01
|
<AntiComposite>
|
https://commons.wikimedia.org/wiki/File:French_Landing_Dam_and_Powerhouse.jpg
|
2019-03-20 02:20:03
|
<AntiComposite>
|
The Commons usage is also showing under en.wikipedia.org but with broken links
|
2019-03-20 02:22:57
|
<AntiComposite>
|
Also happening on https://commons.wikimedia.org/wiki/File:Navs_warm_up_in_short_Leary_RF.JPG
|
2019-03-20 02:23:18
|
<AntiComposite>
|
I'd file a Phab task but I should be asleep now.
|
2019-03-20 12:34:40
|
<ankry>
|
hi
|
2019-03-20 12:35:20
|
<ankry>
|
is there a way to regenerate a broken score image?
|
2019-03-20 12:35:48
|
<thedj>
|
ankry: no, i think they have to be dropped from the file storage..
|
2019-03-20 12:36:03
|
<ankry>
|
will they expire?
|
2019-03-20 12:39:19
|
<thedj>
|
ankry: no, dont think so
|
2019-03-20 12:39:19
|
<thedj>
|
https://github.com/wikimedia/mediawiki-extensions-Score/blob/f706078ac007ea60255836aca984a1ffd214d5f3/includes/Score.php#L352
|
2019-03-20 12:39:47
|
<thedj>
|
this is just storage cache, and the cache options don't indicate any temporary component
|
2019-03-20 12:40:10
|
<thedj>
|
i mean file storage cache
|
2019-03-20 12:40:44
|
<thedj>
|
ankry: so will require manual expunging
|
2019-03-20 12:40:45
|
<bawolff>
|
Add some whitespace changes to the <score> tag perhaps
|
2019-03-20 12:41:02
|
<thedj>
|
yeah, that will possibly make a new version too
|
2019-03-20 12:41:13
|
<thedj>
|
or rather, a different, almost similar version.
|
2019-03-20 12:41:17
|
<ankry>
|
bawolff: yes, I do this for images I know of
|
2019-03-20 12:41:30
|
<ankry>
|
I am looking for a general solution
|
2019-03-20 12:41:43
|
<thedj>
|
we can bumb CACHE::VERSION but that will expire all images of score
|
2019-03-20 12:42:02
|
<bawolff>
|
I'm not following context, if its all the images need to be refreshed, I think a dev could do something about it
|
2019-03-20 12:42:03
|
<thedj>
|
CACHE_VERSION
|
2019-03-20 12:42:31
|
<thedj>
|
bawolff: temporary config problem. https://phabricator.wikimedia.org/T218535
|
2019-03-20 12:42:32
|
<ankry>
|
related to bug: https://phabricator.wikimedia.org/T218535
|
2019-03-20 12:43:03
|
<ankry>
|
se just generated during few days
|
2019-03-20 12:43:09
|
<bawolff>
|
I would say just cache bomb it unless we suspect that the traffic would be too much
|
2019-03-20 12:43:20
|
<bawolff>
|
but score isn't used that often
|
2019-03-20 12:44:52
|
<ankry>
|
that is probably few thousand images total, mainly in wikisources
|
2019-03-20 12:45:37
|
<thedj>
|
and then file a ticket about adding a maintenance script ;)
|
2019-03-20 12:51:28
|
<ankry>
|
underestimated; this is likely 30000-100000 images
|
2019-03-20 12:51:33
|
<ankry>
|
quite a lot
|
2019-03-20 12:51:59
|
<ankry>
|
almost 5000 pages on fr.ws
|
2019-03-20 12:53:22
|
<thedj>
|
ankry: maybe operations can script delete only recently created ones, but they are a bit busy, so be nice ;)
|
2019-03-20 12:53:53
|
<bawolff>
|
it more matters how much traffic then total numbers i think
|
2019-03-20 12:55:31
|
<snitch>
|
[[Tech]]; E THP; /* Ability to upload file(wiki azb) */ new section; https://meta.wikimedia.org/w/index.php?diff=18951718&oldid=18946160&rcid=13331928
|
2019-03-20 12:59:20
|
<snitch>
|
[[Tech]]; E THP; /* Ability to upload file(wiki azb) */; https://meta.wikimedia.org/w/index.php?diff=18951721&oldid=18951718&rcid=13331933
|
2019-03-20 15:01:00
|
<wm-bot>
|
Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @halfak & @CFisch_WMDE - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting
|
2019-03-20 15:12:24
|
<Eugene233>
|
Hello!, Please what is the simplest way to implement OAuth with WP in python?
|
2019-03-20 15:16:34
|
<Lucas_WMDE>
|
Eugene233: have you seen https://wikitech.wikimedia.org/wiki/Help:Toolforge/My_first_Flask_OAuth_tool ?
|
2019-03-20 15:16:40
|
<Lucas_WMDE>
|
Step 4 has OAuth instructions
|
2019-03-20 15:17:03
|
<Eugene233>
|
Lucas_WMDE: Thanks
|
2019-03-20 15:23:33
|
<TenPiolodiusz>
|
hello
|
2019-03-20 15:25:02
|
<RhinosF1>
|
Hello
|
2019-03-20 15:25:19
|
<RhinosF1>
|
Do you need help?
|
2019-03-20 15:31:36
|
<TenPiolodiusz>
|
RhinosF1 I want to see IRC meeting
|
2019-03-20 15:32:05
|
<RhinosF1>
|
It's not for another 30 mins, just wait until then. You're in the right chat.
|
2019-03-20 15:32:12
|
<TenPiolodiusz>
|
OK
|
2019-03-20 15:37:33
|
<bawolff>
|
You can of course ask questions outside the meeting, the meeting is just times when people will definitely be here
|
2019-03-20 15:37:57
|
<andre__>
|
o/
|
2019-03-20 15:50:35
|
<wm-bot>
|
Technical Advice IRC meeting starting in 10 minutes in channel #wikimedia-tech, hosts: @halfak & @CFisch_WMDE - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting
|
2019-03-20 15:59:22
|
<halfak>
|
o/
|
2019-03-20 15:59:48
|
<CFisch_WMDE>
|
\o/
|
2019-03-20 16:00:27
|
<CFisch_WMDE>
|
Welcome to the Technical Advice IRC Meeting!
|
2019-03-20 16:00:56
|
<Gopa>
|
Hello,
|
2019-03-20 16:00:56
|
<Gopa>
|
I'm planning to develop VideoCutTool in React front-end and Node.js/Express with API's and planning to host on toolforge, I also found https://wikitech.wikimedia.org/wiki/Help:Toolforge/Developing here I didn't find anything about toolfoge supports node.js so is will that toolforge supports node.js
|
2019-03-20 16:01:16
|
<Gopa>
|
?
|
2019-03-20 16:01:28
|
<CFisch_WMDE>
|
Hi Gopa! :-)
|
2019-03-20 16:01:44
|
<Gopa>
|
Hello CFisch_WMDE :)
|
2019-03-20 16:02:16
|
<CFisch_WMDE>
|
Afaik node.js is running on the toolsforge servers
|
2019-03-20 16:02:37
|
<CFisch_WMDE>
|
See this example here: https://wikitech.wikimedia.org/wiki/Help:Toolforge/My_first_NodeJS_OAuth_tool
|
2019-03-20 16:03:56
|
<CFisch_WMDE>
|
Video cutting sounds pretty resource intense though - I'm not sure if toolforge can deal with that ;-)
|
2019-03-20 16:04:05
|
<Gopa>
|
yeah so can I start building VideoCutTool tool with node.js and express js ?
|
2019-03-20 16:04:45
|
<Nudin_WMDE>
|
[Pinging TenPiolodiusz – since they had a question and where 30 minutes early.]
|
2019-03-20 16:05:34
|
<CFisch_WMDE>
|
Gopa: I assume it's possible, yes.
|
2019-03-20 16:06:00
|
<CFisch_WMDE>
|
Gopa: Have you build something already. I mean locally?
|
2019-03-20 16:06:55
|
<Gopa>
|
Yes I'm trying out different things in my local system and currently front end is done.
|
2019-03-20 16:07:01
|
<TenPiolodiusz>
|
Nudin_WMDE thanks but I don't need ping
|
2019-03-20 16:07:27
|
<Gopa>
|
I'm planning to do Video Trimming using ffmpeg.
|
2019-03-20 16:08:07
|
<CFisch_WMDE>
|
Gopa: ffmpeg is another thing .... I'm not sure that this is availible on the toolforge servers.
|
2019-03-20 16:08:31
|
<halfak>
|
knows nothing about video editing so just reads on.
|
2019-03-20 16:09:34
|
<Gopa>
|
I'm planning to trim the videos on commons using ffmpeg via VideoCutTool https://gerrit.wikimedia.org/r/#/admin/projects/labs/tools/VideoCutTool
|
2019-03-20 16:09:34
|
<Gopa>
|
https://github.com/gopavasanth/VideoCutTool
|
2019-03-20 16:10:17
|
<CFisch_WMDE>
|
Gopa: Ok, I just checked ffmpeg is there ^^'
|
2019-03-20 16:10:17
|
<Gopa>
|
halfak: no worries :)
|
2019-03-20 16:10:51
|
<Gopa>
|
:)
|
2019-03-20 16:12:08
|
<CFisch_WMDE>
|
So the only concern I would have is regarding performance and resources on a toolforge account. Toolforge is not really known for high performance.
|
2019-03-20 16:12:29
|
<CFisch_WMDE>
|
But you might just give it a try.
|
2019-03-20 16:12:47
|
<bawolff>
|
There are other tools using ffmpeg
|
2019-03-20 16:13:01
|
<halfak>
|
https://wikitech.wikimedia.org/wiki/Help:Toolforge#Submitting,_managing_and_scheduling_jobs_on_the_grid
|
2019-03-20 16:13:04
|
<bawolff>
|
Well i guess they have dedicated vps
|
2019-03-20 16:13:16
|
<Gopa>
|
okay,
|
2019-03-20 16:13:16
|
<Gopa>
|
I hope you got the basic idea about VideoCutTool and what do you prefer to develop the backend (PHP, node.js.....), That should be easy and supportive.
|
2019-03-20 16:13:19
|
<halfak>
|
I wonder if the grid could be used for re-encoding.
|
2019-03-20 16:13:45
|
<bawolff>
|
But yeah, as long as you arent running on login hosts i cant imagine itd be an issue
|
2019-03-20 16:15:05
|
<CFisch_WMDE>
|
Gopa: So you mean what I would prefer for the backend? :-)
|
2019-03-20 16:15:20
|
<bawolff>
|
Gopa: the fun part of it being your tool you can write it in any language you like :)
|
2019-03-20 16:15:29
|
<Gopa>
|
yes, Exactly :)
|
2019-03-20 16:15:37
|
<CFisch_WMDE>
|
+1 what bawolff said :-)
|
2019-03-20 16:16:22
|
<thedj>
|
as long as you don't re-encode video, just rewrite, you can probably do it on tools. otherwise you need vps probably
|
2019-03-20 16:16:30
|
<Gopa>
|
hah, Let us assume it's our tool :)
|
2019-03-20 16:16:34
|
<CFisch_WMDE>
|
My personal preference atm would probably be PHP but just because I'm very used to it ^^'
|
2019-03-20 16:17:33
|
<Gopa>
|
Okay, Thanks CFisch_WMDE I will think about that :)
|
2019-03-20 16:18:15
|
<bawolff>
|
I generally would suggest not going too obscure (forth is probably a bad choice) but otherwise it doesnt really matter
|
2019-03-20 16:18:45
|
<bawolff>
|
Probably should go with whatever language you are most familar with
|
2019-03-20 16:19:42
|
<Gopa>
|
yes thanks.
|
2019-03-20 16:21:39
|
<Gopa>
|
thedj I just want to trim the videos currently and republish it on commons and later we can add features like crop :)
|
2019-03-20 16:22:49
|
<Lucas_WMDE>
|
AFAIK trimming still requires re-encoding unless you trim exactly on a keyframe
|
2019-03-20 16:23:13
|
<Lucas_WMDE>
|
but if your tool runs on Grid (instead of Kubernetes) you can offload the encoding work there
|
2019-03-20 16:23:23
|
<Lucas_WMDE>
|
that should work well enough
|
2019-03-20 16:23:49
|
<thedj>
|
Lucas_WMDE: well sort of, but at least it's interpretable and limited.
|
2019-03-20 16:23:50
|
<halfak>
|
+1 for grid if it could work. Been reading the docs to figure out how you might engineer a UI that interacts with grid.
|
2019-03-20 16:23:50
|
<Lucas_WMDE>
|
(I have a tool that submits grid jobs taking up to several hours, so it’s definitely possible)
|
2019-03-20 16:24:02
|
<halfak>
|
Anyone know another tool with a UI that uses grid?
|
2019-03-20 16:24:09
|
<halfak>
|
Oh maybe that tool :)
|
2019-03-20 16:24:14
|
<halfak>
|
It would be nice to see how you do it.
|
2019-03-20 16:24:30
|
<Lucas_WMDE>
|
that tool is https://tools.wmflabs.org/wd-shex-infer/, it has documentation and source code links
|
2019-03-20 16:24:54
|
<Lucas_WMDE>
|
see especially GridEngineJobRunner in https://phabricator.wikimedia.org/source/tool-wd-shex-infer/browse/master/job_runner.py
|
2019-03-20 16:25:46
|
<thedj>
|
Think of it like this. trimming can be like moving buckets of stones and leaving some buckets behing. encoding/cropping is like making new buckets, sorting stones and making new stones.
|
2019-03-20 16:25:57
|
<thedj>
|
:D
|
2019-03-20 16:27:53
|
<Gopa>
|
Wow nice :)
|
2019-03-20 16:28:02
|
<thedj>
|
changing the size of each stone is probably a better description. (instead of 'making new stones').
|
2019-03-20 16:28:12
|
<halfak>
|
Lucas_WMDE, ever consider splitting that grid job runner out into its own package?
|
2019-03-20 16:28:28
|
<halfak>
|
Seems very useful for toolforge tools.
|
2019-03-20 16:31:29
|
<Lucas_WMDE>
|
hm, I’m not sure how much code would be left after splitting off the parts specific to my tool tbh
|
2019-03-20 16:34:40
|
<CFisch_WMDE>
|
So just to revive the Technical Advice spirit: Anyone else with questions for the meeting? :-)
|
2019-03-20 16:34:48
|
<halfak>
|
:) Thanks CFisch_WMDE
|
2019-03-20 16:46:18
|
<CFisch_WMDE>
|
Ok seems to be a calm last quarter then :-)
|
2019-03-20 16:47:22
|
<TenPiolodiusz>
|
When will PHP7 option come out of the beta?
|
2019-03-20 16:48:06
|
<halfak>
|
"PHP 7 support should be production-complete in the first half of 2019."
|
2019-03-20 16:48:12
|
<halfak>
|
https://www.mediawiki.org/wiki/Beta_Features/PHP7
|
2019-03-20 16:48:16
|
<halfak>
|
that's the best info I could find.
|
2019-03-20 16:48:49
|
<halfak>
|
Most recent updates here: https://phabricator.wikimedia.org/T176370
|
2019-03-20 16:51:02
|
<halfak>
|
I don't see a clear indication of exactly when
|
2019-03-20 16:51:16
|
<halfak>
|
But I don't see any major blockers being discussed either.
|
2019-03-20 16:51:48
|
<TenPiolodiusz>
|
thanks
|
2019-03-20 16:52:47
|
<halfak>
|
happy to help :)
|
2019-03-20 16:59:31
|
<halfak>
|
OK running to my next meeting. Take care, folks!
|
2019-03-20 17:00:57
|
<CFisch_WMDE>
|
\o
|
2019-03-20 17:03:20
|
<CFisch_WMDE>
|
So lets wrap up the official part here. And don't forget: You can always ask questions also outside of the advice hours or on https://discourse-mediawiki.wmflabs.org/ :-)!
|
2019-03-20 17:30:47
|
<snitch>
|
[[Tech]]; Ruslik0; /* Ability to upload file(wiki azb) */ q; https://meta.wikimedia.org/w/index.php?diff=18952026&oldid=18951721&rcid=13332585
|
2019-03-20 18:54:06
|
<RhinosF1>
|
Xtools is really slow
|
2019-03-20 18:54:31
|
<RhinosF1>
|
https://xtools.wmflabs.org/autoedits/en.wikipedia.org/RhinosF1
|
2019-03-20 18:55:01
|
<musikanimal>
|
it loads very quickly now because it's cached, but yes the Auto Edits tool in particular is very slow
|
2019-03-20 18:55:37
|
<musikanimal>
|
not much we can do, unfortunately
|
2019-03-20 18:57:04
|
<RhinosF1>
|
musikanimal, Thanks for the quick response.
|
2019-03-20 19:04:04
|
<Seddon>
|
I'm breaking test2.wikimedia.org again jsut in case someone wants to know whats up
|
2019-03-20 19:35:16
|
<RhinosF1>
|
https://tools.wmflabs.org/xtools-ec/?user=RF1%20Bot&project=en.wikipedia.org&uselang=en Is getting 502
|
2019-03-20 19:36:42
|
<musikanimal>
|
I forgot there was even a xtools-ec! I can fix the redirect. Anyway the Edit Counter now lives at https://xtools.wmflabs.org/ec
|
2019-03-20 19:38:46
|
<musikanimal>
|
https://xtools.wmflabs.org/ec/en.wikipedia.org/RF1%20Bot
|
2019-03-20 19:40:48
|
<musikanimal>
|
and I just fixed https://tools.wmflabs.org/xtools-ec/?user=RF1%20Bot&project=en.wikipedia.org&uselang=en Thanks for pointing that out
|
2019-03-20 19:47:12
|
<RhinosF1>
|
Thanks
|
2019-03-20 19:48:08
|
<RhinosF1>
|
What's the best way to run an IRC Bot in Python 3 on a WMF channel?
|
2019-03-20 19:48:19
|
<RhinosF1>
|
Could toolforge be used?
|
2019-03-20 19:50:09
|
<RhinosF1>
|
Toolsadmin Is returning WikiMedia Error: Request from 2a00:23c4:9e1e:e900:a5c1:de9e:1e03:d3e9 via cp1087 cp1087, Varnish XID 30610320
|
2019-03-20 19:50:09
|
<RhinosF1>
|
Error: 503, Backend fetch failed at Wed, 20 Mar 2019 19:49:31 GMT
|
2019-03-20 19:57:58
|
<Krenair>
|
RhinosF1, looks like it's fine to me? can you retry?
|
2019-03-20 19:59:23
|
<RhinosF1>
|
tries again
|
2019-03-20 19:59:54
|
<RhinosF1>
|
Can you advise on IRC Bots? It only needs to post a quick message to a chat.
|
2019-03-20 20:00:01
|
<Krenair>
|
not right now
|
2019-03-20 20:00:06
|
<RhinosF1>
|
Np
|
2019-03-20 20:01:20
|
<RhinosF1>
|
Still down Krenair
|
2019-03-20 20:09:47
|
<RhinosF1>
|
Is there anyway https://phabricator.wikimedia.org/P8216 Could be run by anyone?
|
2019-03-20 20:37:01
|
<RhinosF1>
|
Krenair, Toolsadmin Still down for all
|
2019-03-20 20:37:04
|
<RhinosF1>
|
Me
|
2019-03-20 20:48:46
|
<McJill>
|
CFisch_WMDE: you around?
|
2019-03-20 20:50:20
|
<McJill>
|
Got a year-old commit I wanna chat with you about
|
2019-03-20 20:53:47
|
<snitch>
|
[[Tech]]; E THP; /* Ability to upload file(wiki azb) */; https://meta.wikimedia.org/w/index.php?diff=18952317&oldid=18952026&rcid=13333214
|
2019-03-20 20:55:14
|
<McJill>
|
Hmmm, timezone fail
|
2019-03-20 21:04:48
|
<sjoerddebruin>
|
Wikidata is showing a sitenotice from 2015, anyone can help?
|
2019-03-20 21:15:12
|
<James_F>
|
sjoerddebruin: Set [[MediaWiki:Sitenotice]] to '-' (without the quotes), should clear it.
|
2019-03-20 21:15:22
|
<James_F>
|
(But very odd.)
|
2019-03-20 21:15:29
|
<James_F>
|
sjoerddebruin: Or I can.
|
2019-03-20 21:15:38
|
<sjoerddebruin>
|
Done
|
2019-03-20 21:15:57
|
<sjoerddebruin>
|
Sitenotice is one of the oddest features :P
|
2019-03-20 21:16:24
|
<James_F>
|
sjoerddebruin: I imagine it's some local site script that broke with the new train.
|
2019-03-20 21:17:22
|
<James_F>
|
The "hide this message" feature is hacky, though.
|
2019-03-20 21:17:25
|
<James_F>
|
File a task?
|
2019-03-20 21:18:07
|
<sjoerddebruin>
|
It seems fixed now, and yeah
|
2019-03-20 21:20:26
|
<sjoerddebruin>
|
ugh, no specific sitenotice project?
|
2019-03-20 22:00:48
|
<bawolff>
|
DissmissableSitenotice is an extension and should have a tag
|
2019-03-20 22:03:28
|
<James_F>
|
OTOH last real patch there was six years ago: https://gerrit.wikimedia.org/r/q/project:mediawiki%252Fextensions%252FDismissableSiteNotice
|
2019-03-20 22:05:05
|
<bawolff>
|
I'm surprised its not like 15 years ago
|
2019-03-20 22:10:52
|
<James_F>
|
Well, indeed. :-)
|
2019-03-20 22:13:10
|
<snitch>
|
[[Tech]]; Kyykaarme; /* Google indexing and caching new pages too fast */; https://meta.wikimedia.org/w/index.php?diff=18952606&oldid=18952317&rcid=13333858
|
2019-03-20 22:38:32
|
<bawolff>
|
btw various people are reporting issues with the selectandother OOUI widget on Special:GlobalBlock
|
2019-03-20 22:43:09
|
<bawolff>
|
James_F: I see in a91c33a that OOUI was updated, likely cause of widgets breaking?
|
2019-03-20 22:43:32
|
<bawolff>
|
Well i'll file a bug
|
2019-03-20 22:45:52
|
<James_F>
|
bawolff: Yes. Breaking change, announced on wikitech-l.
|
2019-03-20 22:45:56
|
<James_F>
|
bawolff: What widget?
|
2019-03-20 22:46:18
|
<bawolff>
|
The reason field on block pages
|
2019-03-20 22:46:18
|
<bawolff>
|
aka the "selectandother" htmlform class control
|
2019-03-20 22:46:29
|
<James_F>
|
sighs.
|
2019-03-20 22:46:38
|
<James_F>
|
Yeah, please file UBN tasks.
|
2019-03-20 22:46:50
|
<bawolff>
|
https://phabricator.wikimedia.org/T218830
|
2019-03-20 22:48:05
|
<James_F>
|
Thanks.
|
2019-03-20 23:11:36
|
<Seddon>
|
Reedy: you about?
|