I see the problem, we will have it on every page: page and quit understandable you are missing the knowledge where to link to. from my point of view, give the ref the number 0 an link it to the top of the page. The reason for this ''curious idea'' is, if there are other refs on this page , this would look different and I'm shure that users will complain on the differnt look. But IM not shure ob my idea is that good? :(
Can you handle even two ref tags, on the same two pages
blah blah blah blah blah blah<ref name="note1">beginning of note 1</ref> bla bla <ref name="note2">beginning of note 2</ref> blah blah blah blah blah blah blah blah blah<ref follow="note1">end of note1</ref><ref follow="note2">end of note2</ref> blah blah blah
A question according to the naming:. The names must be unique within the project or the names must be unique within the set of the transcluded pages.
may there be a page without between a contuation of a ref? page1 <ref name=A> </ref> page2 // no ref at all page3 <ref follow="A"> </ref>
is this allowed page1 <ref name=A> </ref> page2 <ref> just another ref></ref> page3 <ref follow="A"> </ref>
Just some curious ideas to your extension, hopefully i give you some test cases
greetings joergens.mi
2010/8/11 ThomasV thomasV1@gmx.de
Sorry, I forgot a topic ; reposting the previous message:
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
Wikisource-l mailing list Wikisource-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikisource-l