Category:User rights message templates

From Wikimedia Commons, the free media repository
Jump to: navigation, search

Tip: If you are a user of Gadget UserMessages, you can add the welcome-templates to the selector, adding the following to your common.js:

$(document).bind('scriptLoaded', function(evt, st, o) {
	if (st) {
		if ('AxUserMsg' === st && o) {
			o.umTemplate.push(['Autopatrolgiven', "Autopatrol given", "After giving autopatrol rights to a user.", 128, "Just for your information: You are now [[COM:PATROL#Autopatrolled|autopatrolled]]."]);
			o.umTemplate.push(['PatrollerWelcome', "Patroller Welcome", "After giving patrol rights to a user.", 128, "Just for your information: Welcome you are now a [[COM:PATROL|patroller]]."]);
			o.umTemplate.push(['FilemoverWelcome', "Filemover Welcome", "After giving filemover rights to a user.", 128, "Just for your information: Welcome you are now a [[COM:RENAME|filemover]]."]);
		}
	}
});

If this does not work, please update the syntax from the help-page.