Page MenuHomePhabricator

Enable chart definitions to be able to use lua modules as a data generator
Open, LowPublicFeature

Description

Currently chart definitions require a tabular data set to operate.

Brooke has proven out a proof of concept that uses a lua module to generate a data set based on lua's ability to query the mediawiki API's.

This is a powerful capability but to reduce the friction to users, we should provide the ability for users to create chart definitions with a provided empty table provisioned in the software rather than requiring the use of an empty tab file on commons.

Event Timeline

matej_suchanek renamed this task from Enable chart definitions to be able to use lua mobules as a data generator to Enable chart definitions to be able to use lua modules as a data generator.May 20 2025, 7:59 AM
CCiufo-WMF triaged this task as Medium priority.May 23 2025, 3:43 PM
CCiufo-WMF changed the subtype of this task from "Task" to "Feature Request".
Seddon lowered the priority of this task from Medium to Low.Jun 17 2025, 9:52 AM

I don't know if we are talking about doing this: https://commons.wikimedia.org/wiki/Data:Life_expectancy.chart. If so, adding a module for transformation can do man tricks. I guess that we are talking about something more complex.

The goal of the present task is to be able to create a chart with no data table – the life expectancy chart does use a data table, WDI/SP.DYN.LE00.IN data.tab, so it’s indeed not what the task is about.