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

From Test Wiki
Jump to navigation Jump to search
(More configuration for all-in-one.)
(+ wikEd, another change to the all-in-one suffixes I use.)
Line 10: Line 10:
}
}
// 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)"];
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);
}
) ();

Revision as of 06:08, 6 June 2024

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. -->"];
// 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);
 }
) ();