That seems like a pretty radical modification for a relatively rare use case.
Would it make more sense to just refer to multiple pages with a single URL?
e.g. use this as the reference for the whole lot:
http://en.wikisource.org/wiki/Page:Robert_the_Bruce_and_the_struggle_for_Sco...
As for what you get when you click on that ref link, the simplest thing is to just do nothing with the pp=48-49, since you already have a "next page" link. It's effectively just an indication to the reader.
If you want to get extra fancy perhaps you can use the value of pp= to insert a template above the page that says "Reference is spread over pages _48_, _49_". The simplest thing would be just to list out the pages, and if you ever get more than 20 or something you can start doing the kind of pagination links that you see on sites like Google. For obvious reasons only consecutive pages should be allowed here.
On 8/11/10 8:43 AM, ThomasV wrote:
I would like to extend the syntax of the<ref> tag (Cite extension), in order to deal with footnotes that are spread on several transcluded pages. Since the Cite extension is widely used, I guess I better ask here first.
Here is an illustration of the problem : http://en.wikisource.org/wiki/Page:Robert_the_Bruce_and_the_struggle_for_Sco...
On the bottom of the scan you can see the second half of a footnote. That footnote begins at the previous page : http://en.wikisource.org/wiki/Page:Robert_the_Bruce_and_the_struggle_for_Sco...
Wikisourcers currently have no way to deal with these cases in a clean way. I have written a patch for this (the code is here : http://dpaste.org/QOMH/ ). This patch extends the "ref" syntax by adding a "follow" parameter, like this :
<ref follow="foo">bar</ref>
After two pages are transcluded, the wikitext passed to the parser will look like this :
blah blah blah blah blah blah<ref name="note1">beginning of note 1</ref> blah blah blah blah blah blah blah blah blah<ref follow="note1">end of note</ref> blah blah blah
This wikitext is rendered as a single footnote, located in the text at the position of the parent<ref>. If the parent<ref> is not found (as is the case when you render only the second page), then the text inside the tag is rendered at the beginning of the list of references, with no number and no link.
does this make sense ?
Thomas
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l