Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Help:Diff
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== <nowiki>{{Diff}}</nowiki> or <nowiki>{{Diff2}}</nowiki> === Using {{tl|diff}} or {{T|diff2}} is another approach of linking to a diff within Wikipedia, though it cannot be used in edit summaries. The general syntax is: :{{tlx|Diff|<var>page</var>|<var>diff</var>|<var>oldid</var>|<var>label</var>}} *{{para|<var>page</var>}} β The title of the page. *{{para|<var>diff</var>}} β The ID or keyword that is used against the base ID. Possible keywords are: **<kbd>cur</kbd> β compare with the current (latest) version of a page. **<kbd>prev</kbd> β compare with the previous version of a page. **<kbd>next</kbd> β compare with the next version of a page. **<var>id</var> β This should be {{em|larger}} than <code>oldid</code>. *{{para|<var>oldid</var>}} β The base ID onto which the diff is generated. *{{para|<var>label</var>}} β Text to display as link. No label will give a numbered link. *{{para|diffonly|yes}} β Shows only a diff and not the page content. Parameter name required. ==== <nowiki>{{URL to diff}}</nowiki> ==== {{Tl|URL to diff}} takes a full diff URL and converts it to a {{Tl|Diff}} template. The template should be substituted, thus: :<code><nowiki>{{Subst:URL to diff|url=https://en.wikipedia.org/w/index.php?diff=100000001&oldid=123456789|label=relevant text}}</nowiki></code>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)