Last modified: 2014-06-14 10:22:44 UTC
Currently, we have modules that create pie charts by stacking divs with very thick, differently-colored borders, as well as ones that do even crazier things. Perhaps Scribunto should be given a {{#invokefile:foo|bar}} syntax (or something), where the output returned by the module is treated as contents of an image (or in theory, even other types of files, such as audio). Primarily, I see this being used to make SVGs, as a replacement for the HTML hacks used to create "images" today. We can already have dynamic file generation with Extension:Math, so it should be feasible to do with Scribunto as well.
Change 113759 had a related patch set uploaded by Jackmcbarn: Support for modules-as-images https://gerrit.wikimedia.org/r/113759
This could also replace EasyTimeline, see bug 27156, bug 60263, bug 35320.
The reason I used the [[File:Module:XXX]] syntax for the prototype, is, that it enables these scripts to be used whereever images can currently be used. It was important to me that it worked with Extension:ImageMap, since that is necessary if we want to replace EasyTimeline.