This template is intended to be useful for creating links to " undo" diffs. Note: not all revisions can be undone. Use this template with care.
Every version of a page has a revision ID, which you can find from the history of the page by looking at the link for the timestamp, which is of the form:
http[s]://en.wikipedia.org/?title=SomePageName&oldid=442212827
The number after oldid=
is the revision ID.
Given a page name and two revision IDs, you can construct links undo diffs.
{{
Undo|page|oldid|diff|label}}
page
– The title of the page.oldid · undoafter
– The base ID onto which the diff is generated.diff · undo
– The ID or keyword that is used against the base ID.label
– Text to display as link. No label will give an "undo" link.{{Undo|Wikipedia:Pagediff|204934693|204901573}}
{{Undo|Wikipedia:Pagediff|204934693|204901573|revert an edit}}
A template that is intended to be useful for creating links to undo specific diffs.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page | page | The title of the page. | Page name | required |
Oldid | oldid undoafter | The base ID onto which the diff is generated. Some number like "442212827" (without the quotes). | Number | required |
Diff | diff undo | The ID or keyword that is used against the base ID. | Number | required |
Label | label | Text to display as link. No label will give a numbered link.
| Line | optional |
This template is intended to be useful for creating links to " undo" diffs. Note: not all revisions can be undone. Use this template with care.
Every version of a page has a revision ID, which you can find from the history of the page by looking at the link for the timestamp, which is of the form:
http[s]://en.wikipedia.org/?title=SomePageName&oldid=442212827
The number after oldid=
is the revision ID.
Given a page name and two revision IDs, you can construct links undo diffs.
{{
Undo|page|oldid|diff|label}}
page
– The title of the page.oldid · undoafter
– The base ID onto which the diff is generated.diff · undo
– The ID or keyword that is used against the base ID.label
– Text to display as link. No label will give an "undo" link.{{Undo|Wikipedia:Pagediff|204934693|204901573}}
{{Undo|Wikipedia:Pagediff|204934693|204901573|revert an edit}}
A template that is intended to be useful for creating links to undo specific diffs.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page | page | The title of the page. | Page name | required |
Oldid | oldid undoafter | The base ID onto which the diff is generated. Some number like "442212827" (without the quotes). | Number | required |
Diff | diff undo | The ID or keyword that is used against the base ID. | Number | required |
Label | label | Text to display as link. No label will give a numbered link.
| Line | optional |