Release status: beta
|Implementation||Page action, Special page|
|Description||provides a special page for exporting content from pages
containing abc music notation as abc or pdf of score
|License||CC By NC SA|
|MediaWiki||tested on 1.26+|
The abcExport extension provides a special page for exporting content from pages containing abc music notation as abc or pdf of score.
This extension is most likely used along with the ABCjs extension that supports input, tagging & display on abc music notation.
Installation of abcExport requires both installing the extension into your wiki, and also installing the required helper programs if you want to support pdf score export.
For conversion of abc music notation to pdf, you need:
The special page for this extensions is listed under
Export abc tunes in the
Page tools section. You can also access it directly using the
Export multiple tunes toolbox link
(see below). The page looks like this:
To use the export feature, you first need to list the pages with tune content. Do this by editing or adding to the list of one or more tune/page titles that you want to export abc tunes from, one title per line. You can also delete any unwanted tune or to change their order, but must keep one tune/page title per line, which must exactly match the tune/page title. Or you can copy and paste a list of tunes titles from a text file on your computer into this list. Or you can tag a series of tunes for later export, which will be added to this list in order (provided you have Mediawiki 1.27+ with Session Manager support).
Note that any leading The/An/A will be moved to end per site policy for tune page names, if needed.
Lines starting with % are abc comments or directives (eg %%newpage) that will be copied directly into the abc file.
Once you are satisfied with your list, you should specify the desired export filename, select the desired export format (abc music notation file, pdf rendered score, or this list as a text file), and then select 'Export Tunes'.
You can navigate away to search for and tag other tunes to add to the list ((provided you have Mediawiki 1.27+). Tagged tunes will appear in this list, in the order tagged, unless the list has been cleared, or reset by exporting a single tune. If you make any changes to the list on this page, you must select either the 'Export Tunes' or 'Remember List Changes' buttons to save your changes before leaving this page. Please note that your tune list is only saved for the duration of this web session. You need to use it to export tunes, export it as text, or copy and paste it into a text file on your computer, before closing your browser.
This extension also adds a number of extra links into the Tools
Toolbox (usually on the LHS), as shown:
These links provide the following functionality:
Page_title.abcand stay on this page.
Page_title.pdfand stay on this page.
Copyright © 2017 Lawrie Brown
This extension was written starting with the code in Nahshon Una-Tsameret's ePubExport extension, whose contribution is gratefully acknowledged.