Jump to content

Help:Diff: Difference between revisions

(Clearer.)
(→‎Linking to a diff: added info on using Template:Diff)
 
*<code><nowiki>http://en.wikipedia.org/wiki/PAGETITLE?diff=12345678</nowiki></code>
 
Using [[Template:Diff]] is another method of linking to a diff within Wikipedia:
:{{tlx|Diff|''page''|''diff''|''oldid''|''label''}}
*<tt>''page''</tt>&nbsp;– The title of the page.
*<tt>''diff''</tt>&nbsp;– The ID or keyword that is used against the base ID. Possible keywords are:
*:<tt>cur</tt>&nbsp;– compare with the current version of a page.
*:<tt>prev</tt>&nbsp;– compare with the previous version of a page.
*:<tt>next</tt>&nbsp;– compare with the next version of a page.
*:''id''&nbsp;– This should be ''larger'' than <tt>oldid</tt>.
*<tt>''oldid''</tt>&nbsp;– The base ID onto which the diff is generated.
*<tt>''label''</tt>&nbsp;– Text to display as link. No label will give a numbered link.
 
==Deleted revisions==