Add Special:Diff as an internally-linkable redirect to diff pages
authorJérémie Roquet <jroquet@arkanosis.net>
Sun, 12 May 2013 22:10:47 +0000 (00:10 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sat, 25 Jan 2014 20:41:08 +0000 (21:41 +0100)
commitecc8114014ce16bd12b780e7ebbeaf10810b15b0
tree9029f499778e2577e4d812bd29380caf9c4e8993
parentfca267cc7ca073076a97ae9b15048928bc8e3798
Add Special:Diff as an internally-linkable redirect to diff pages

This is similar to Special:PermanentLink added in r79036 and has been
asked for several times in different places, including:
- on the English Wikipedia (oldid=539308532)
- on mediawiki.org (lqt_oldid=31691)
- on the French Wikipedia (oldid=93029892)
- on the English Wikipedia again (oldid=588408888)

A notable use-case is linking to diffs in the edit summaries, where
external links are not yet allowed (bug 14892).

All of the following are valid usages:
- [[Special:Diff/12345]] (diff of a revision with the previous one)
- [[Special:Diff/12345/prev]] (diff of a revision with the previous one as well)
- [[Special:Diff/12345/next]] (diff of a revision with the next one)
- [[Special:Diff/12345/cur]] (diff of a revision with the latest one of that page)
- [[Special:Diff/12345/98765]] (diff between arbitrary two revisions)

Co-authored-by: Jérémie Roquet <jroquet@arkanosis.net>
Co-authored-by: Bartosz Dziewoński <matma.rex@gmail.com>
Change-Id: I77fdaf8e04375caa1d67ca4a3ec3bd93920c3309
RELEASE-NOTES-1.23
includes/AutoLoader.php
includes/specialpage/SpecialPageFactory.php
includes/specials/SpecialDiff.php [new file with mode: 0644]
languages/messages/MessagesEn.php