Feature summary (what you would like to be able to do):
Identify errors in particular mismatched/misnested brackets in the syntax used for the <score> </score> more quickly by means of appropriate syntax highlighting in the editor for code contained within those tags, which is not mediawiki markup.
Steps to reproduce (a list of clear steps to create the situation that made you report this, including full links if applicable):
- Firstly Ensure you are using WikiEditor ( "Enable the editing toolbar" is enabled in Special:Preferences. )
- https://en.wikipedia.org/w/index.php?title=Symphony_No._4_(Bruckner)&oldid=1039928058 (which contains an error around line 599, namely a missing brace at the end of a voice.)
- The example under the heading "Third version (1881)" misrenders
- Edit tab
- Enable syntax highlighting. (The pencil Icon will be blue if syntax highlighting is enabled.)
No syntax highlighting is displayed for lillypond markup within the <score></score> tags, (which would have assisted in identifying the mismatched bracket more quickly.
(Aside: The missing brace was corrected in https://en.wikipedia.org/w/index.php?title=Symphony_No._4_(Bruckner)&diff=prev&oldid=1039932845 at line 599)
Use case(s) (describe the actual underlying problem which you want to solve, and not only a solution):
Syntax highlight and matching bracket identification within the wikitext-editor used on pages, for the markup contained within <score></score> tags.
Currently it is possible to write markup, which is valid markup for the score extension tag, but which is malformed in terms of how certain tags or 'commands' are nested, leading to rendering errors. These are often due to missing or misplaced brace { or } characters in the markup, as evidenced (and repaired) in the links provided.
The existing editor is able to highlight and match brackets in mediawiki markup, allowing errors such as that in the first linked page to be identified more quickly. It would be useful to be able to do this for the markup used in the score extension.