User:Codename Noreste/common.js: Difference between revisions
Jump to navigation
Jump to search
Removing some scripts I do not use, and added one. |
More configuration for all-in-one. |
||
Line 3: | Line 3: | ||
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ASuffusion_of_Yellow%2Fbatchtest-plus.js&action=raw&ctype=text/javascript'); | mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ASuffusion_of_Yellow%2Fbatchtest-plus.js&action=raw&ctype=text/javascript'); | ||
importScript('MediaWiki:Gadget-AllInOne.js'); // Backlink: [[MediaWiki:Gadget-AllInOne.js]] | importScript('MediaWiki:Gadget-AllInOne.js'); // Backlink: [[MediaWiki:Gadget-AllInOne.js]] | ||
if (typeof(p4js_all_in_one) === 'undefined') p4js_all_in_one = {}; | |||
p4js_all_in_one.reasons = { | |||
block: ["Vandalism", "Vandalism-only account", "Spamming links to external sites", "Spam-only account or spambot", "Intimidating behavior/harassment", "Long-term abuse", "{{blocked proxy}}"], | |||
pagedelete: ["Unambiguous spam", "Complete vandalism", "Created by blocked user evading their block", "Not a translation"], | |||
revisiondelete: ["Copyright violation", "Correction of a mistake in revision deletion", "Grossly insulting, degrading, or offensive material", "Potentially libelous information", "Purely disruptive material", "Other valid non-test deletion"], | |||
} | |||
// You can select these suffixes to append to your block and (revision) delete rationales. | |||
p4js_all_in_one.suffixes = ["", "(bureaucrat action)"]; |