User:Codename Noreste/common.js: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
+ wikEd, another change to the all-in-one suffixes I use.
Loading this abuse filter contribs script from enwiki.
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
// Selective Rollback ([[User:Dragoniez/Selective Rollback.js]])
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User%3ADragoniez%2FSelective%20Rollback.js&action=raw&ctype=text/javascript');
window.selectiveRollbackConfig = {};
selectiveRollbackConfig.markBot = false;
selectiveRollbackConfig.confirm = 'never';
selectiveRollbackConfig.mobileConfirm = 'always';
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3AAnimum%2Fmassdelete.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ingenuity/AbuseFilterContribs.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ASuffusion_of_Yellow%2FfilterDiff.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ASuffusion_of_Yellow%2FfilterDiff.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ASuffusion_of_Yellow%2FfilterTest.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ASuffusion_of_Yellow%2FfilterTest.js&action=raw&ctype=text/javascript');
Line 11: Line 19:
// You can select these suffixes to append to your block and (revision) delete rationales.
// You can select these suffixes to append to your block and (revision) delete rationales.
p4js_all_in_one.suffixes = ["", " (bureaucrat action)", " <!-- Bureaucrat action, but can be changed as a steward action if necessary. -->"];
p4js_all_in_one.suffixes = ["", " (bureaucrat action)", " <!-- Bureaucrat action, but can be changed as a steward action if necessary. -->"];
// install [[:Wikipedia:User:Cacycle/wikEd]] in-browser text editor
(function ()
{
var script = document.createElement('script');
script.src = 'https://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript';
script.async = true;
document.getElementsByTagName('head')[0].appendChild(script);
}
) ();

Latest revision as of 03:43, 28 June 2024

// Selective Rollback ([[User:Dragoniez/Selective Rollback.js]])
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User%3ADragoniez%2FSelective%20Rollback.js&action=raw&ctype=text/javascript');
window.selectiveRollbackConfig = {};
selectiveRollbackConfig.markBot = false;
selectiveRollbackConfig.confirm = 'never';
selectiveRollbackConfig.mobileConfirm = 'always';
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3AAnimum%2Fmassdelete.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Ingenuity/AbuseFilterContribs.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ASuffusion_of_Yellow%2FfilterDiff.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ASuffusion_of_Yellow%2FfilterTest.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]]
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)", " <!-- Bureaucrat action, but can be changed as a steward action if necessary. -->"];