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: P5482. We should have a new datatype that renders the value as if it were enclosed within the wikitext <score>…</score>
- 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 in diffs are just show as the raw text string (same as what currently happens)
- 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?
- Musical notation
- 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?
- Yes because it is supported in Wikimedia already
- Would it be beneficial to have more than one music notation datatype
- Possibly but the benefit does not seem large enough at this point to invest the effort
- There should be a check list for creating a new datatype in a docs folder in git. (Wikibase/docs/datatypes.wiki)