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