Jump to content

Template:URL to diff/doc

From Simple English Wikipedia, the free encyclopedia
Revision as of 11:36, 29 March 2022 by Fehufanga (talk | changes) (add doc, from enwiki https://en.wikipedia.org/w/index.php?title=Template:URL_to_diff/doc&oldid=977794666)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template converts a diff URL to use the {{diff}} template. Diff URLs must be from the host "simple.wikipedia.org", and they must contain one of the query strings |title=, |diff= or |oldid=. In other words, they must be of the format simple.wikipedia.org/w/index.php?query. URLs of the format simple.wikipedia.org/wiki/Page name will not work.

Usage

{{subst:URL to diff|url=url|label=label}}

Parameters

  • url - the diff URL (required).
  • label - a label for the diff link (optional). If this is not specified, the {{diff}} template will produce a numbered link.