Template:URL to diff/doc
This is a documentation subpage for Template:URL to diff. It contains usage information, categories, and other content that is not part of the original template page. |
This template should always be substituted (i.e., use {{subst:URL to diff}}). Any accidental transclusions will be automatically substituted by a bot. |
This template uses Lua: |
This template converts a diff URL to use the {{Diff}}
template. Diff URLs must be from the host "species.wikimedia.org", and they must contain one of the query strings |title=
, |diff=
or |oldid=
. In other words, they must be of the format species.wikimedia.org/w/index.php?query
. URLs of the format species.wikimedia.org/wiki/Page name
will not work.
Usage
edit{{subst:URL to diff|url=url|label=label}}
Parameters
editurl
- 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.