User:Captin Shmit/vandal warning

The following is an AutoHotkey script that helps you warn vandals not to vandalize.

;Alt+V Copies the currently selected text to the clipboard along with the standard vandal warning template and a title for use on the vandals talk page.
!v::
send,^c
title:=Clipboard
Clipboard= == %A_MMMM% %A_YYYY% ==`r`n{{subst:uw-vandalism1|%title%}} -~~~~
return

Example

edit

Once you have the script running, just highlight the title of the vandalized page, press Alt+V, and here is what it will copy to the clipboard:

== April 2008 ==
{{subst:uw-vandalism1|the title of the vandalized page}} -~~~~

Which produces:

April 2008

edit

  Welcome to Wikipedia. Although everyone is welcome to make constructive contributions to Wikipedia, at least one of your recent edits, such as the one you made to the title of the vandalized page, did not appear to be constructive and has been reverted or removed. Please use the sandbox for any test edits you would like to make, and take a look at the welcome page to learn more about contributing to this encyclopedia. Thank you. -Captin Shmit (talk) 05:28, 26 April 2008 (UTC)