Template:URL to diff
Appearance
![]() | Please note that this template must be substituted. Replace {{uRL to diff}} with {{subst:uRL to diff}} . |
![]() | This template uses Lua: |
This template converts a diff URL to use the {{diff}} template. Diff URLs must be from the host "en.wikisource.org", and they must contain one of the query strings |title=
, |diff=
or |oldid=
. In other words, they must be of the format en.wikisource.org/w/index.php?query
. URLs of the format en.wikisource.org/wiki/Page name
will not work.
Usage
[edit]{{subst:URL to diff|url=url|label=label}}
Parameters
[edit]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.