This is a documentation subpage for Template:Apply diff. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used to generate an edit link that will apply the changes from a given diff to an arbitrary page. The most common use for this is to request edits be made to a protected template after making them in the sandbox.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Base revision ID | 1 | The ID of the revision prior to the revision(s) containing the changes to be applied | Number | required |
Changed revision ID | 2 | The ID of the final revision containing the changes to be applied | Number | required |
Page name | 3 | The page to apply the changes to. If not specified, the subject page corresponding with the current page is used. | Page name | suggested |
Edit summary | summary | An edit summary to prefill in the edit form | String | optional |
Link text | text | The text to use for the link. If not specified, an autonumbered link is created. | String | optional |