Jump to content

User:Omegatron/Cite

From Wikipedia, the free encyclopedia

Here is a rough draft of my proposed changes/additions to the new citation feature. Of course everything is subject to tweaking and such.

See m:Talk:Cite/Cite.php#A_different_idea

Current system

[edit]

The proposed new system would be backwards compatible with the current system. If the page used a <references/> tag, it would behave exactly as it does now:

In the aftermath of the [[First Italian War]], [[Pope Alexander VI]] had moved to consolidate Papal control over central Italy by seizing the [[Romagna]]. [[Cesare Borgia]], acting as [[gonfaloniere]] of the Papal armies, had expelled the [[Bentivoglio]] family from [[Bologna]], which they had ruled as a fief, and was well on his way towards establishing a permanent Borgia state in the region when Alexander died on [[18 August]] [[1503]].<ref>Norwich, ''History of Venice'', 390.</ref> Although Cesare managed to seize the remnants of the Papal treasury for his own use, he was unable to secure Rome itself, as French and Spanish armies converged on the city in an attempt to influence the [[Papal conclave]]; the election of [[Pope Pius III|Pius III]] (who soon died, to be replaced by Julius II) stripped Cesare of his titles and relegated him to commanding a company of men-at-arms.<ref>Guicciardini, ''History of Italy'', 168–175.</ref> Sensing Cesare's weakness, the dispossessed lords of the Romagna offered to submit to the Republic of Venice in exchange for aid in regaining their dominions; the Senate accepted and had taken possession of [[Rimini]], [[Faenza]], and a number of other cities by the end of 1503.<ref>Norwich, ''History of Venice'', 391.</ref>

In response, Julius concluded an alliance with France and the Holy Roman Empire against Venice; the death of [[Isabella of Spain]] and the resulting collapse of relations between the parties soon dissolved the alliance, but not before Venice had been induced to abandon several of the cities.<ref>Norwich, ''History of Venice'', 392.</ref> Julius, although unsatisfied with his gains, did not himself possess sufficient forces to fight the Republic; for the next two years he instead occupied himself with the reconquest of Bologna and [[Perugia]], which, located between Papal and Venetian territory, had in the meantime assumed a state of quasi-independence.<ref>Guicciardini, ''History of Italy'', 189–190.</ref>

A second assault by a [[Tyrol]]ean force several weeks later was an even greater failure; Alviano not only routed the Imperial army but also proceeded to seize [[Trieste]] and [[Fiume]], forcing Maximilian to conclude a truce with Venice.<ref>Norwich, ''History of Venice'', 393.</ref>
...
== References ==

<references/>

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.1 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.2 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.2 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.1
...

References

  1. Bar, Foo (1587). Research into the inclusion of references in online encyclopedias.
  2. R.L. Bar (April 30, 2005). Talking to your children about HTML addiction. URL accessed on July 6, 2005.
    • pages 34–37
    • Section 7.1: Table of baz

Ref tags in references section?

[edit]

The proposed new system would be backwards compatible with the current system. If the page used a <references/> tag, it would behave exactly as it does now:

In the aftermath of the [[First Italian War]], [[Pope Alexander VI]] had moved to consolidate Papal control over central Italy by seizing the [[Romagna]]. [[Cesare Borgia]], acting as [[gonfaloniere]] of the Papal armies, had expelled the [[Bentivoglio]] family from [[Bologna]], which they had ruled as a fief, and was well on his way towards establishing a permanent Borgia state in the region when Alexander died on [[18 August]] [[1503]].<ref name="Norwich_1"/> Although Cesare managed to seize the remnants of the Papal treasury for his own use, he was unable to secure Rome itself, as French and Spanish armies converged on the city in an attempt to influence the [[Papal conclave]]; the election of [[Pope Pius III|Pius III]] (who soon died, to be replaced by Julius II) stripped Cesare of his titles and relegated him to commanding a company of men-at-arms.<ref name="Guicciardini_1"/> Sensing Cesare's weakness, the dispossessed lords of the Romagna offered to submit to the Republic of Venice in exchange for aid in regaining their dominions; the Senate accepted and had taken possession of [[Rimini]], [[Faenza]], and a number of other cities by the end of 1503.<ref name="Norwich_2"/>

In response, Julius concluded an alliance with France and the Holy Roman Empire against Venice; the death of [[Isabella of Spain]] and the resulting collapse of relations between the parties soon dissolved the alliance, but not before Venice had been induced to abandon several of the cities.<ref name="Norwich_3"/> Julius, although unsatisfied with his gains, did not himself possess sufficient forces to fight the Republic; for the next two years he instead occupied himself with the reconquest of Bologna and [[Perugia]], which, located between Papal and Venetian territory, had in the meantime assumed a state of quasi-independence.<ref name="Guicciardini_2"/>

A second assault by a [[Tyrol]]ean force several weeks later was an even greater failure; Alviano not only routed the Imperial army but also proceeded to seize [[Trieste]] and [[Fiume]], forcing Maximilian to conclude a truce with Venice.<ref name="Norwich_4"/>
...
== References ==

<references>
<ref name="Norwich_1">Norwich, ''History of Venice'', 390.</ref>
<ref name="Guicciardini_1">Guicciardini, ''History of Italy'', 168–175.</ref>
<ref name="Norwich_2">Norwich, ''History of Venice'', 391.</ref>
<ref name="Norwich_3">Norwich, ''History of Venice'', 392.</ref>
<ref name="Guicciardini_2">Guicciardini, ''History of Italy'', 189–190.</ref>
<ref name="Norwich_4">Norwich, ''History of Venice'', 393.</ref>
</references>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.1 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.2 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.2 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.1
...

References

  1. Bar, Foo (1587). Research into the inclusion of references in online encyclopedias.
  2. R.L. Bar (April 30, 2005). Talking to your children about HTML addiction. URL accessed on July 6, 2005.
    • pages 34–37
    • Section 7.1: Table of baz

Other ideas for the references section:

== References ==

<reference name="Norwich_1">Norwich, ''History of Venice'', 390.</reference>
<reference name="Guicciardini_1">Guicciardini, ''History of Italy'', 168–175.</reference>
<reference name="Norwich_2">Norwich, ''History of Venice'', 391.</reference>
<reference name="Norwich_3">Norwich, ''History of Venice'', 392.</reference>
<reference name="Guicciardini_2">Guicciardini, ''History of Italy'', 189–190.</reference>
<reference name="Norwich_4">Norwich, ''History of Venice'', 393.</reference>

Why does it have to look like XHTML? Redirects use ordered lists to do magic; why can't we just use a definition list and do magic with that?

== References ==

<references>
; Norwich_1 : Norwich, ''History of Venice'', 390.
; Guicciardini_1 : Guicciardini, ''History of Italy'', 168–175.
; Norwich_2 : Norwich, ''History of Venice'', 391.
; Norwich_3 : Norwich, ''History of Venice'', 392.
; Guicciardini_2 : Guicciardini, ''History of Italy'', 189–190.
; Norwich_4 : Norwich, ''History of Venice'', 393.
</references>

Subreferences

[edit]
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<ref name="foo"/> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<ref name="bar"> pages 34–37</ref> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.<ref name="bar">Section 7.1: Table of baz</ref> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.<ref name="foo">page 56</ref>
...
== References ==

<references>
<ref name="foo"> {{cite book
 | first = Foo
 | last = Bar
 | authorlink = Foo bar
 | year = 1587
 | title = Research into the inclusion of references in online encyclopedias
}}</ref>
<ref name="bar">
{{cite web
 | author=R.L. Bar
 | title=Talking to your children about HTML addiction
 | year=April 30, 2005
 | url=http://www.example.org/
 | accessdate=July 6
 | accessyear=2005
}}
</ref>
</references>

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.1 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.2 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.2 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.1
...

References

  1. Bar, Foo (1587). Research into the inclusion of references in online encyclopedias.
  2. R.L. Bar (April 30, 2005). Talking to your children about HTML addiction. URL accessed on July 6, 2005.
    • pages 34–37
    • Section 7.1: Table of baz