This is exciting -- let's make sure we capture any usage requirements for the upcoming Graphs modernization work so we can have these features built in again soon!
-- brooke On Wed, Apr 17, 2024 at 7:43 AM Felipe Schenone <scheno...@gmail.com> wrote: > Amazing work, James and Galder! > > Today I was bold, made it fully multilingual and generalized it so that it > can be easily installed in any wiki (Wikimedia or not). > See https://www.mediawiki.org/wiki/Template:OWID for the documentation > and https://www.mediawiki.org/wiki/MediaWiki:Gadget-OWID.js for the code > and https://www.mediawiki.org/wiki/Template_gadgets for more context > > Galder, perhaps you'd like to update the usage at the Basque Wikipedia > (see https://www.mediawiki.org/wiki/Template:OWID) so as to help > centralize and coordinate our efforts? > Some technical notes: > - I simplified the code considerably using the pre-built methods > OO.ui.alert and OO.ui.confirm rather than those complicated (and > unnecessary, in this case) OOUI classes. I hope you like it. > - I wrapped the code with an "OWID" object to keep it out of the global > space and make sure the 'oojs-ui-windows' dependency is always loaded. > - The localized messages should probably be moved to their own JSON file > and loaded from there, but I'm not sure about the best way to do that while > keep it template gadgets centralized at MediaWiki.org, and possibly having > the strings translated by translatewiki.net. Perhaps we can set up a call > to discuss some options? > > PS, I enabled the template on the Spanish Wikipedia (see > https://es.wikipedia.org/wiki/Plantilla:OWID) but we're having some local > trouble with template gadgets so it's not working right now. I should be > able to fix it in the next few hours. > > On Tue, Apr 16, 2024 at 6:34 PM Galder Gonzalez Larrañaga < > galder...@hotmail.com> wrote: > >> Thanks, James, for all the work done, >> We now have 14 articles with interactive graphs, as we are exploring this >> new feature: >> https://eu.wikipedia.org/wiki/Kategoria:Our_World_in_Data_grafikoak_dituzten_artikuluak. >> The deployment is pretty easy, it took around 10 minutes with only four >> things: a template, a css, a js and a gadget definition. This is so simple, >> that I think it should be implemented by everyone. >> >> We should think on how we make it multilingual. >> >> Thanks again to all the members of WikiProject Med for the step forward. >> >> Galder >> ------------------------------ >> *From:* James Heilman <jmh...@gmail.com> >> *Sent:* Tuesday, April 16, 2024 11:14 PM >> *To:* Wikimedia Mailing List <wikimedia-l@lists.wikimedia.org> >> *Subject:* [Wikimedia-l] Re: We need more interactive content: we are >> doing it wrong >> >> We have Interactive graphs from OWID working on Basque Wikipedia, >> following a consent popup. >> >> https://eu.wikipedia.org/wiki/Haurdunaldi#Nerabezaroa >> >> Still need to figure out a way to make them multilingual. >> >> -- >> James Heilman >> MD, CCFP-EM, Wikipedian >> _______________________________________________ >> Wikimedia-l mailing list -- wikimedia-l@lists.wikimedia.org, guidelines >> at: https://meta.wikimedia.org/wiki/Mailing_lists/Guidelines and >> https://meta.wikimedia.org/wiki/Wikimedia-l >> Public archives at >> https://lists.wikimedia.org/hyperkitty/list/wikimedia-l@lists.wikimedia.org/message/MFERHIM5S5BNJCM52YYB2Q6T7FO3ZLAL/ >> To unsubscribe send an email to wikimedia-l-le...@lists.wikimedia.org >> > _______________________________________________ > Wikimedia-l mailing list -- wikimedia-l@lists.wikimedia.org, guidelines > at: https://meta.wikimedia.org/wiki/Mailing_lists/Guidelines and > https://meta.wikimedia.org/wiki/Wikimedia-l > Public archives at > https://lists.wikimedia.org/hyperkitty/list/wikimedia-l@lists.wikimedia.org/message/RKXWQ2QVN6XMFBKHFYDXUWO4SXRL64LK/ > To unsubscribe send an email to wikimedia-l-le...@lists.wikimedia.org
_______________________________________________ Wikimedia-l mailing list -- wikimedia-l@lists.wikimedia.org, guidelines at: https://meta.wikimedia.org/wiki/Mailing_lists/Guidelines and https://meta.wikimedia.org/wiki/Wikimedia-l Public archives at https://lists.wikimedia.org/hyperkitty/list/wikimedia-l@lists.wikimedia.org/message/4CXDQL5XXNEJ4NDC42BROSM6LUWH7QFI/ To unsubscribe send an email to wikimedia-l-le...@lists.wikimedia.org