A bit more background on Our World in Data. 

They currently have about 4,500 data visualization https://ourworldindata.org/charts

They come in two main formats:

1) Grapher: These are simpler and their older work https://ourworldindata.org/grapher/deaths-from-substance-disorders
2) Explorers: These are newer with more ways to adjust data https://ourworldindata.org/explorers/natural-resources

Both of these work via the consent pop up workflow. 

We last coordinated the mass upload of still images from OWID to Commons in 2020. https://commons.wikimedia.org/wiki/Category:Our_World_in_Data And are beginning to look at doing an update. One thought as part of this update would be to include within the commons page the mediawiki markup needed to have the consent pop up work in target languages that have it activated. 

James

On Wed, Apr 17, 2024 at 1:29 PM Brooke Vibber <bvibber@wikimedia.org> wrote:
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 <schenonef@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).

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 <galder158@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 <jmh649@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.


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-leave@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-leave@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-leave@lists.wikimedia.org


--
James Heilman
MD, CCFP-EM, Wikipedian