User:WindTempos/common.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .css page for this skin is at User:WindTempos/common.css. |
/**
* common.js
*/
// redwarn/UV
mw.loader.load( '/w/index.php?title=User:RedWarn/.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:RedWarn/.js]]
//importScript('User:10nm/beta.js'); // Backlink: [[User:10nm/beta.js]]
// various qol scripts
importScript('User:Lourdes/PageCuration.js'); // Linkback: [[User:Lourdes/PageCuration.js]]
importScript('User:Writ Keeper/Scripts/teahouseUtility.js'); // Backlink: [[User:Writ Keeper/Scripts/teahouseUtility.js]]
importScript('User:Writ Keeper/Scripts/teahouseTalkback.js'); // Backlink: [[User:Writ Keeper/Scripts/teahouseTalkback.js]]
importScript('User:Uziel302/typo.js'); // Backlink: [[User:Uziel302/typo.js]]
importScript('user:Qwertyytrewqqwerty/DisamAssist.js'); // Backlink: [[user:Qwertyytrewqqwerty/DisamAssist.js]]
importScript('User:Jackmcbarn/editProtectedHelper.js'); // Backlink: [[User:Jackmcbarn/editProtectedHelper.js]]
importScript('User:PleaseStand/userinfo.js'); // Backlink: [[User:PleaseStand/userinfo.js]]
importScript('User:Ingenuity/AntiVandal.js'); // Backlink: [[User:Ingenuity/AntiVandal.js]]
importScript('User:Amalthea/userhighlighter.js'); // Backlink: [[User:Amalthea/userhighlighter.js]]
importScript('User:Evad37/MoveToDraft.js'); // Backlink: [[User:Evad37/MoveToDraft.js]]
importScript('User:Enterprisey/cv-revdel.js'); // Backlink: [[User:Enterprisey/cv-revdel.js]]
// custom shortcuts
const SHORTCUTS = [
["Dashboard", "Wikipedia:Dashboard", "Dashboard"],
["Pending changes", "Special:PendingChanges", "Pending changes"],
["New drafts", "Special:NewPages?namespace=118", "New pages in Draft namespace"],
["Teahouse", "Wikipedia:Teahouse", "Teahouse"],
["Help desk", "Wikipedia:Help desk", "Help desk"],
["ANI", "Wikipedia:Administrators' noticeboard/Incidents", "Administrators' noticeboard/Incidents"],
["AfD", "Wikipedia:Articles for deletion", "Articles for deletion"],
["MfD", "Wikipedia:Miscellany for deletion", "Miscellany for deletion"]
];
for (const shortcut in SHORTCUTS) {
if (SHORTCUTS.hasOwnProperty(shortcut)) {
const sc = SHORTCUTS[shortcut];
mw.util.addPortletLink("p-interaction", "/wiki/" + sc[1], sc[0], null, sc[2]);
}
}
importScript('User:Writ Keeper/Scripts/massRollback.js'); // Backlink: [[User:Writ Keeper/Scripts/massRollback.js]]
importScript('User:Writ Keeper/Scripts/unmobilePlus.js'); // Backlink: [[User:Writ Keeper/Scripts/unmobilePlus.js]]