Jump to content

Template:URL to diff/doc

From Simple English Wikipedia, the free encyclopedia
Revision as of 20:12, 2 July 2023 by Ferien (talk | changes) (there isn't yet an approved bot that would substitute the templates on this wiki)
(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.

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

Parameters

[change source]
  • 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.