MediaWiki:Gadget-UserMessages.js

try { // containerize gadget, to protect other gadgets if this one goes wrong

/*

Automatic user messages
Installing this script as described on the talk page will give you links in the toolbox for all pages in the User talk: namespace, that say 'Please tag', 'Please name', and 'Please link'. Clicking any of the buttons will add one of the following templates to the user's talk page, signed by you:
 * Welcome

Main code by User:Siebrand, derived from MediaWiki:Quick-delete.js by Jietse Niesen, pfctdayelise and Alphax. Code stolen from Commons by User:ShakataGaNai for Wikinews (Fixed by Bawolff)
 * Category:Block templates
 * Category:User_talk_templates

TODO
//
 * Do not add a trailing / at the end of the subst'ed template, as they now (almost) all use the autotranslation mechanism (see Template_i18n/User_templates)

} catch (e) { // containerize gadget, to protect other gadgets if this one goes wrong // ignore }