Template:X-To-DR/doc
Helper template that adds a button that can be used to convert any type of deletion request to a regular deletion request or to simply remove the tag.
Usage
The second submatch - if present - will be used as the provided reason.
{{X-To-DR
| regexp =<nowiki>/\{\{\s*([Dd]upe?|[Dd]uplicat(?:e|ion)|[Ee]xact duplicate)\s*(?:\|\s*(?:1\=)?)?([^\{\}]*)\}\}/</nowiki>
| templateName =duplicate
| declineReason =<nowiki>Not an exact or scaled-down [[Commons:Duplicate|duplicate]]</nowiki>
}}
The template takes no parameters.
Additional information
The template is intended to be used in the following namespaces: the Template namespace
The template is intended to be used by the following user groups: no user group specified
Relies on:
MediaWiki:Gadget-AjaxQuickDelete.js
See also
Localization
This template is localized by utilizing custom MediaWiki namespace messages.
If i18n is required, please create a MediaWiki message or a new template (like {{X-To-DR-tag}}) and use that.