As an editor interested in music scores I want to enter them in Wikidata using the LilyPond notation in order to share them and display them nicely in Items.
Right now we do not have a datatype to store music scores. Editors are storing it as a property with datatype string: [[ https://www.wikidata.org/wiki/Property:P5482 | P5482 ]]. We should have a new datatype that renders the value as if it were enclosed within the wikitext `<score>`…`</score>`
[[ https://www.wikidata.org/w/index.php?title=Special%3AWhatLinksHere&target=Property%3AP5482&namespace=0 | list of Items that currently use the existing property ]]
* I can make statements with the new datatype. The input is LilyPond notation and the values are rendered as sheet music.
* Input for the datatype is just a regular old string textbox (nothing fancy)
* The values are rendered as sheet music in diffs (old value side by side new value)
* The new datatype shows up on https://www.wikidata.org/wiki/Special:ListDatatypes
* Invalid input can be saved but when rendered should show a short version of the full error output, such as "Unable to compile LilyPond input file"
* Length of the datatype should be configurable via a config setting
* Can we migrate the existing property to the new datatype?
* Probably, should be separate ticket?
* What should the datatype be called?
* Something specific to lillypond (see comment below)
* Should multi-line values be allowed?
* Probably not initially
* Is LilyPond a good choice for this datatype, given the existence of other music notation formats?
* Would it be beneficial to have more than one music notation datatype
* There should be a check list for creating a new datatype in a docs folder in git.