User:RockOfVictory/Footnote nesting

This is my footnote testing ground. There are many issues with proper referencing in MediaWiki, so hopefully I can make this into a useful page in the future! This was initially spawned from Wikipedia_talk:Footnotes/archive3.

Formatting in text-editor
This section is for testing different ways to format the  tag to make it easier for editors to read through without getting lost.This first ref test has an initial  followed by two newlines, then. The text following it continues immediately after the closing. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Duis sed ligula eu leo dictum malesuada. Morbi aliquam, ligula vel suscipit rhoncus, velit enim porta lorem, in sodales lectus nibh sed urna. Aenean nisl lorem, pellentesque id, dignissim quis, dapibus nec, justo. Ut diam.This second test is like the first, but it is at the end of a paragraph.

Sed auctor metus nec enim. Aenean non justo. Proin porttitor elementum nibh. Sed at metus non massa adipiscing varius. Pellentesque vitae risus sit amet velit lacinia cursus.I like the first technique here. This one is a little different at the end, though, adding a newline to the end before the closing. Mauris orci nibh, pretium eu, venenatis vitae, adipiscing ac, tortor. Vivamus tempor ipsum nec ante. Donec mauris. Maecenas blandit urna scelerisque augue.Again, like the previous example, but adding two newlines to the end instead.

Pellentesque vestibulum pede eu ligula. Nullam varius urna at orci. Nunc libero augue, tristique et, tempus et, fringilla sed, leo. Nullam enim.Another end-paragraph reference, but otherwise just like the one before it.

Sed mattis quam sed dui. Integer ultricies ornare nunc. Fusce lectus ipsum, hendrerit id, adipiscing vel, commodo eget, eros. Vestibulum quam magna, malesuada ut, convallis ut, tempus in, metus.Once again, continuing as before, but this is the first of several references stringed next to each other.

The second consecutive ref at the end of a sentence.

Donec nisl felis, faucibus sit amet, vulputate eu, sodales id, lacus. Ut gravida feugiat massa. In at tortor a justo tristique euismod. Aliquam erat volutpat. So which (s) allow you to edit the main (non-reference) text the best? I like how  on a new line signifies the beginning of a reference whereas   signifies a new paragraph if it is on a new line. Once you get used to it, I think this is probably the best way to do references.

Refined
Since I like the latter techniques above, here is the same main text as above, but with the references formatted uniformly. You can ignore the descriptions within the references since they no longer apply.This first ref test has an initial  followed by two newlines, then. The text following it continues immediately after the closing.

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Duis sed ligula eu leo dictum malesuada. Morbi aliquam, ligula vel suscipit rhoncus, velit enim porta lorem, in sodales lectus nibh sed urna. Aenean nisl lorem, pellentesque id, dignissim quis, dapibus nec, justo. Ut diam.This second test is like the first, but it is at the end of a paragraph.

Sed auctor metus nec enim. Aenean non justo. Proin porttitor elementum nibh. Sed at metus non massa adipiscing varius. Pellentesque vitae risus sit amet velit lacinia cursus.I like the first technique here. This one is a little different at the end, though, adding a newline to the end before the closing.

Mauris orci nibh, pretium eu, venenatis vitae, adipiscing ac, tortor. Vivamus tempor ipsum nec ante. Donec mauris. Maecenas blandit urna scelerisque augue.Again, like the previous example, but adding two newlines to the end instead.

Pellentesque vestibulum pede eu ligula. Nullam varius urna at orci. Nunc libero augue, tristique et, tempus et, fringilla sed, leo. Nullam enim.Another end-paragraph reference, but otherwise just like the one before it.

Sed mattis quam sed dui. Integer ultricies ornare nunc. Fusce lectus ipsum, hendrerit id, adipiscing vel, commodo eget, eros. Vestibulum quam magna, malesuada ut, convallis ut, tempus in, metus.Once again, continuing as before, but this is the first of several references stringed next to each other.

The second consecutive ref at the end of a sentence.

Donec nisl felis, faucibus sit amet, vulputate eu, sodales id, lacus. Ut gravida feugiat massa. In at tortor a justo tristique euismod. Aliquam erat volutpat.

Footnotes referring to previous footnotes?
I'd like a footnote to refer to another named footnote, for example:


 * 1. A footnote
 * 2. Smith J.,, "How to rename footnotes on Wikipedia articles" publ. 2005 Wikipedia
 * 3. Another footnote
 * 4. Smith (2005) op cit, See footnote [2]

Since footnote numbers change, I'd like to name footnote 2, eg. &lt;ref name="smith2005">.. etc, but don't know if it's possible to include the generated footnote number in another as shown above? Perhaps something like, &lt;ref>Smith (2005) "op cit", see footnote [&lt;ref number="smith2005" />] &lt;/ref>? --Iantresman 10:35, 6 May 2006 (UTC)


 * Indeed,nested references don't seem to work out! What about references with multiple paragraphs? This is a formatting test which spaces out the ref tag to make the editing window easier to read.

[But first, a ref with comments.] On to the problem. There are ways around it, though. Here's a commented test.