Re: [Wikitech-l] Startup module size and ResourceLoader registry overhead

2019-09-19 Thread Kosta Harlan
Amazing work! See also https://phabricator.wikimedia.org/phame/post/view/175/wikipedia_s_javascript_initialisation_on_a_budget/ Kosta > On Sep 16, 2019, at 11:10 PM, Amir Sarabadani

Re: [Wikitech-l] Adding a gadget to VisualEditor

2019-09-19 Thread Marielle Volz
You might want to check out the VE parts of the graph extension. It sounds like a good analogue for what you want to do, where there's a pop-up to edit the JSON (as well as a visual component) that is interpreted as a Vega graph, which is an external library (https://vega.github.io/vega/). Code

Re: [Wikitech-l] content_models table only contains wikitext content model on fresh MW 1.32.3 install

2019-09-19 Thread John
Why don’t you use the existing import/export tools? On Thu, Sep 19, 2019 at 8:18 AM Tom Schulze < t.schu...@energypedia-consult.com> wrote: > > > There have been reports of similar problems with the slots table. Please > add > > your experience to the ticket here: > > > >

[Wikitech-l] Scrum of scrums/2019-09-18

2019-09-19 Thread Željko Filipin
Hi, for HTML version see https://www.mediawiki.org/wiki/Scrum_of_scrums/2019-09-18 Željko -- = 2019-09-18 = == Callouts == * SRE says: various PDU upgrades throughout the next few weeks, we might reach out to specific teams. * Release Engineering - REMINDER: We're at 1.34.0-wmf.23 this week.

Re: [Wikitech-l] content_models table only contains wikitext content model on fresh MW 1.32.3 install

2019-09-19 Thread Daniel Kinzler
Hi Tom! The snippet looks fine at a glance, though I wonder why you are not just using maintenance/edit.php. Am 19.09.19 um 14:17 schrieb Tom Schulze: > I import pages > using a custom maintenance script which reads a files' content from the file > system and saves it to the mediawiki db using:

Re: [Wikitech-l] Scrum of scrums/2019-09-18

2019-09-19 Thread Željko Filipin
Hi, as an experiment, here's a version of the meeting notes with short Phabricator and Gerrit links. Let me know what you think. I hope it will make meeting notes shorter and more readable in both plain text and on wiki. Example long links: ** Performance: CR for rdbms/LoadMonitor changes

Re: [Wikitech-l] content_models table only contains wikitext content model on fresh MW 1.32.3 install

2019-09-19 Thread Tom Schulze
> There have been reports of similar problems with the slots table. Please add > your experience to the ticket here: > > https://phabricator.wikimedia.org/T224949 > > There is a patch up that should safeguard against my best guess at the cause > of > this. If you can provide additional insights

Re: [Wikitech-l] Startup module size and ResourceLoader registry overhead

2019-09-19 Thread Daniel Kinzler
My friend @wetterfrosch points out on twitter that reducing our daily bandwidth usage by 4.3TB reduces CO2 emission by 30 tons PER DAY. That's roughly equivalent to flying 20 people from Berlin to San Francisco and back. Every day. Thank you all! Sources:

Re: [Wikitech-l] [Wikimedia-l] [Wikimedia Announcements] Welcoming Wikimedia Foundation’s new CTO, Grant Ingersoll

2019-09-19 Thread James Salsman
Well, I'm thrilled about this, especially after having had a look through https://www.slideshare.net/lucidworks/searching-for-better-code-presented-by-grant-ingersoll-lucidworks Honestly, though, it's only the third best thing that happened this week after Valerie Plame entering politics and the

Re: [Wikitech-l] Startup module size and ResourceLoader registry overhead

2019-09-19 Thread Greg Grossmeier
On Thu, Sep 19, 2019 at 05:09:59PM +0200, Daniel Kinzler wrote: > My friend @wetterfrosch points out on twitter that reducing our daily > bandwidth > usage by 4.3TB reduces CO2 emission by 30 tons PER DAY. That's roughly > equivalent to flying 20 people from Berlin to San Francisco and back.

[Wikitech-l] Request for participation: Patch Triage

2019-09-19 Thread Mukunda Modell
The code review working group has been discussing ideas for how to encourage more / better code reviews for Wikimedia code. One idea that we are exploring[1] is something we tried previously which was called "Code review office hours." This was a weekly scheduled IRC meeting attended by code