Jump to content

Extension:AbcNotation

From mediawiki.org


MediaWiki extensions manual
AbcNotation
Release status: beta
Implementation Tag
Description Rendering of music from ABC notation
Author(s) Wolfgang Fahl (Seppl2013talk)
Latest version 0.1.1 (2025-10-29)
MediaWiki
‎<abc>
License Apache License 2.0
Download

Overview

[edit]

You can typeset music with this extension, using the ABC notation.

Use the tags ‎<abc>...‎</abc> to enclose ABC text.

See the Wikipedia article on ABC notation for links to tutorials and song collections.

Example: Inline ABC

[edit]

Source:

<abc>
X:1
T: Twinkle Twinkle Little Star
M: 2/4
L: 1/4
K: C
|"C" C C | "C" G G | "F" A A | "C" G2 | 
w: Twin- kle twin- kle lit- tle star,
"F" F F | "C" E E | "G7" D D | "C" C2 |
w: how I won- der what you are.
</abc>

See Twinkle Twinkle Little Star on BITPlan's Wiki

Installation

[edit]

In your extensions folder:

git clone https://github.com/WolfgangFahl/ABCNotation

LocalSettings.php

[edit]
wfLoadExtension( 'ABCNotation' );

Implementation Notes

[edit]

This implementation uses abc.js as the underlying rendering engine.

[edit]