Last modified: 2014-09-23 19:53:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T50538, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48538 - Create a single score from multiple pages on Wikisource
Create a single score from multiple pages on Wikisource
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Score (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 52883
Blocks: Wikisource
  Show dependency treegraph
 
Reported: 2013-05-16 14:19 UTC by dacuetu
Modified: 2014-09-23 19:53 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description dacuetu 2013-05-16 14:19:03 UTC
At ca-ws we have started creating musical scores and we have found out that when transcluding two pages into one, it is only possible to generate two independent audio files instead of one with the whole score.

Example with two pages
http://ca.wikisource.org/wiki/P%C3%A0gina%3A30_can%C3%A7ons_populars_catalanes_%281916%29.djvu/59
http://ca.wikisource.org/wiki/P%C3%A0gina%3A30_can%C3%A7ons_populars_catalanes_%281916%29.djvu/60

Transcluded score:
http://ca.wikisource.org/wiki/Els_micalets_d%27Espanya

Is there any way to combine multiple pages into a single file? I have tried to transclude each section independently, but I always get a wall of text with errors. Also interesting would be to give the user the option to save that lilypond file.
Comment 1 Tpt 2013-05-16 15:45:25 UTC
It can maybe be done with the same system as the follow="" feature of <ref> tags managed by Extension:Cite ( https://www.mediawiki.org/wiki/Extension:Cite/Cite.php#Merging_two_texts_into_a_single_reference_.28wikisource_issue.29 ). By example:

<score name="AA">XX</score>
Anything
<score follow="AA">YY</score>

would output the same things than

<score>XX
YY</score>
Anything
Comment 2 dacuetu 2013-05-16 19:01:37 UTC
The <noinclude> tag doesn't work between <score> tags, only if the line is preceded by the symbol '%' (commented line in lylipond), suggesting that the lilypond score is parsed before transclusion.

If the "follow" solution is an option, it would be recommended to parse the score after page transclusion and not before.
Comment 3 Sumana Harihareswara 2013-07-27 06:36:51 UTC
Greg, wanted to cc you on this per http://lists.wikimedia.org/pipermail/wikitech-l/2013-May/069441.html and ask whether this is a blocker for publicizing Score. Thanks!
Comment 4 Jan Gerber 2013-07-29 10:03:30 UTC
Its not possible to join the output of two scores and create one score/audio file of it, you can however create a new score with the contents of both, i.e.: https://test2.wikipedia.org/wiki/User:JanGerber/join

are there other tags that can be joined like this? might be possible to get an idea how this could be done from them.
Comment 5 Greg Grossmeier 2013-07-29 19:39:50 UTC
Sumana: not a blocker for publicizing, as this is going to be a enhancement that takes a while to complete (I'm guessing).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links