Jump to content

Wikipedia:Simple diff and link guide

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Oshwah (talk | contribs) at 12:09, 25 August 2017 (Protected "Wikipedia:Simple diff and link guide": Highly visible page ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require administrator access] (indefinite))). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

What are diffs?

A diff is a permanent link to a single edit or set of edits, showing the difference between the before and after versions.

How to harvest a diff

Find the page which contains the edit you want to refer to. Click on its history tab. Find the edit in the history list. (If that's a problem, clicking on the word prev in the list will let you read the edit.) Right-click on its "prev" button and select "Copy link location" or "Copy Shortcut". The diff you want is now in your clipboard.

Find the page which contains the section you want to refer to. Click on "Permanent link" in the "Toolbox" in the lefthand sidebar. Go to the page's Table of Contents. Right-click on the name of the section you want to use, where it appears in the Table of Contents, and select "Copy link location". The section link you want is now in your clipboard.

Diffs and other links are all formatted in the same way. The whole of them must always be used, including the http://.

  1. Diffs and links will work if they're simply pasted "naked" into your text like this: http://en.wikipedia.org/w/index.php?title=Wikipedia:Requests_for_arbitration/InShaneee/Workshop&diff=next&oldid=115703696.
  2. Or you can make them neater by putting single (not double) square brackets round them. Typing this: [http://en.wikipedia.org/w/index.php?title=Wikipedia:Requests_for_arbitration/InShaneee/Workshop&diff=next&oldid=115703696] will give a note like this:[1].
  3. At this point removing the http: or https: is advisable, to generate protocol-relative URLs.
  4. Or you can make them elegant by wrapping them into a word in your text. Typing this: [//en.wikipedia.org/w/index.php?title=Wikipedia:Requests_for_arbitration/InShaneee/Workshop&diff=next&oldid=115703696 this] will give this link. Notice the space between the link and the wrapper word.