Page MenuHomePhabricator

Enable uploads for LilyPond (.ly) and ABC (.abc) files on Commons
Open, Needs TriagePublic

Description

Per T208494.

Both LilyPond and ABC are already supported through the Score extension, but cannot be uploaded to Commons or rendered as thumbnails. The LilyPond software does have the ability to export to other formats, such as PDF and SVG. (Currently the extension renders scores as PNG and not as SVG; see T49578.)

There is no requirement to enable thumbnails or playback before it becomes possible to upload files to Commons; there was (I think) no expectation in the RfC that this would occur immediately due to the Community Wishlist Survey proposal for such not reaching the top 10.

Both LilyPond and ABC scores are intended to be written directly as source code. I don't know if this would cause security or upload issues.

Event Timeline

Jc86035 created this task.Jan 17 2019, 11:03 AM
HLHJ added a subscriber: HLHJ.Jan 20 2019, 2:29 AM

Would one be able to transclude them into articles? It might be a bit more compact than, say, this.

I think so. If thumbnailing is enabled, then it could be enabled through PDF and/or SVG exports for both LilyPond and MuseScore (using the existing software). PDF thumbnails already exist and have a |page= parameter, which I expect a PDF export from LilyPond would do.

Obviously this is just hypothetical right now. I'm sure it's possible, but even before anyone writes any code the specifics would need to be fleshed out (what parameters will exist in the format's file syntax, how to control parameters like export format, how to use both image and audio if that becomes a possibility, how to handle the page layout settings when exporting to different formats if that's done, etc.).