Re: [Wikitech-l] Incident report: Multiple breakages due to wfLoadExtension() transition

2016-08-11 Thread Pine W
Thanks Max. Questions and comments below: > == Casualties == > > * Max's liver. :( > == Conclusions == > > * Our code review practices are lax, including merging hairy patches > without testing and self-merges. Is there a way to improve how code review is done such that appropriate testing

Re: [Wikitech-l] Advice on using mustache for templating

2016-08-11 Thread Sumit Asthana
Hi Smriti, https://www.mediawiki.org/wiki/Extension:WikidataPageBanner uses mustache template from MediaWiki core to render its banner in HTML. Have a look here to see if it can be helpful. -Regards, Sumit

[Wikitech-l] Language switching improvements on mobile web

2016-08-11 Thread Jon Katz
Hey Everyone, A big shout out to the reading web team (and Adam B), who rolled out a number of subtle, but important changes to the mobile web sites of all our projects earlier this week. Through a series of UX improvements, the team made it easier for people to switch between languages in an

Re: [Wikitech-l] Advice on using mustache for templating

2016-08-11 Thread Ryan Kaldari
Hi Smriti, As you probably know, there is built-in support for Mustache templates in MediaWiki: https://www.mediawiki.org/wiki/Manual:HTML_templates. So that will at least get you part way there. The only MediaWiki code I know of that currently uses HTML email is the Echo extension:

[Wikitech-l] Fwd: [Commons-l] Programmatically categorizing media in the Commons with Machine Learning

2016-08-11 Thread Pine W
Forwarding. Pine -- Forwarded message -- From: "Jordan Adler" Date: Aug 11, 2016 13:06 Subject: [Commons-l] Programmatically categorizing media in the Commons with Machine Learning To: "common...@wikimedia.org" Cc: "Ray Sakai"

[Wikitech-l] Advice on using mustache for templating

2016-08-11 Thread Smriti Singh
Hello! I am currently working on implementing HTML E-Mail support. I needed advice on whether I should use mustache for implementing templates for the same. If not, I would love suggestions on what else I can use. Thank you! - Galorefitz ___

Re: [Wikitech-l] Schema migration for 'image' and 'oldimage' tables

2016-08-11 Thread Jaime Crespo
Mediawiki migration could be done in any form or way; the easiest path for a live migration is to keep the image table; add the logic to ignore older revisions on the same table; add the oldimage entries, which are very few in comparison; then create the non-revision version; migrate the bulk of