Last modified: 2014-06-14 10:22:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T66460, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64460 - Dynamically generate files with Scribunto
Dynamically generate files with Scribunto
Status: PATCH_TO_REVIEW
Product: MediaWiki extensions
Classification: Unclassified
Scribunto (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-25 22:14 UTC by Jackmcbarn
Modified: 2014-06-14 10:22 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jackmcbarn 2014-04-25 22:14:49 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.
Comment 1 Gerrit Notification Bot 2014-06-13 17:30:34 UTC
Change 113759 had a related patch set uploaded by Jackmcbarn:
Support for modules-as-images

https://gerrit.wikimedia.org/r/113759
Comment 2 Janus Troelsen 2014-06-14 10:17:26 UTC
This could also replace EasyTimeline, see bug 27156, bug 60263, bug 35320.
Comment 3 Janus Troelsen 2014-06-14 10:19:58 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links