User:Rusty Cat/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:Rusty Cat/common.css. |
// Automatically purge pages
if (mw.config.get('wgAction') === 'purge') {
$('form[action*="action=purge"]').submit();
}
// portlets
$.when(mw.loader.using('mediawiki.util'), $.ready).then(function() {
mw.util.addPortletLink('p-interaction', '//typos.toolforge.org/', 'Correct typos in one click', 'p-typo', 'Correct typos in one click tool');
mw.util.addPortletLink('p-interaction', '/wiki/Wikipedia:Edit_filter/False_positives/Reports', 'EFFPR', 'p-effpr', 'Wikipedia edit filter false positive reports');
mw.util.addPortletLink(
'p-personal',
mw.util.getUrl('Special:NewPagesFeed'),
'Page Curation',
'pt-pagecuration',
'View the new pages feed',
null,
'#pt-preferences'
); // [[User:Schminnte/PageCuration.js]]
});
// general purpose
importScript('User:PleaseStand/userinfo.js'); // Backlink: [[User:PleaseStand/userinfo.js]]
// antivandalism
importScript('User:10nm/beta.js'); // Backlink: [[User:10nm/beta.js]]
importScript('User:Ingenuity/AntiVandal.js'); // Backlink: [[User:Ingenuity/AntiVandal.js]]
// mainspace editing
mw.loader.load('/w/index.php?title=User:Evad37/rater.js&action=raw&ctype=text/javascript'); // Backlink: [[User:Evad37/rater.js]]
mw.loader.load('/w/index.php?title=User:Qwertyytrewqqwerty/DisamAssist.js&action=raw&ctype=text/javascript'); // Backlink: [[User:Qwertyytrewqqwerty/DisamAssist.js]]
mw.loader.load('/w/index.php?title=User:PerfektesChaos/js/lintHint/r.js&action=raw&maxage=86400&ctype=text/javascript'); // Backlink: [[User:PerfektesChaos/js/lintHint/r.js]]
mw.loader.load('/w/index.php?title=User:Wugapodes/Capricorn.js&action=raw&ctype=text/javascript'); // Backlink: [[User:Wugapodes/Capricorn.js]]
importScript('User:Ohconfucius/script/EngvarB.js'); // Backlink: [[User:Ohconfucius/script/EngvarB.js]]
// mw.loader.load('/w/index.php?title=User:Uziel302/typo.js&action=raw&ctype=text/javascript'); // Backlink: [[User:Uziel302/typo.js]]
// management and noticeboards / admin tools
importScript('User:Elli/OneClickArchiver.js'); // Backlink: [[User:Elli/OneClickArchiver.js]]
// mw.loader.load('/w/index.php?title=User:DannyS712/EFFPRH.js&action=raw&ctype=text/javascript'); // Backlink: [[User:DannyS712/EFFPRH.js]]
mw.loader.load('/w/index.php?title=User:Suffusion_of_Yellow/effp-helper.js&action=raw&ctype=text/javascript'); // Backlink: [[User:Suffusion of Yellow/effp-helper.js]]
mw.loader.load('/w/index.php?title=User:Suffusion_of_Yellow/FilterDebugger.js&action=raw&ctype=text/javascript'); // Backlink: [[User:Suffusion of Yellow/FilterDebugger.js]]
importScript('User:Jackmcbarn/editProtectedHelper.js'); // Backlink: [[User:Jackmcbarn/editProtectedHelper.js]]
importScript('User:DannyS712/SectionRemover.js'); // Backlink: [[User:DannyS712/SectionRemover.js]]
importScript('User:DannyS712/SectionMover.js'); // Backlink: [[User:DannyS712/SectionMover.js]]
importScript('User:Terasail/COI_Request_Tool.js'); // Backlink: [[User:Terasail/COI_Request_Tool.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript');
importScript('User:SD0001/BDCS.js'); // Backlink: [[User:SD0001/BDCS.js]]
importScript( 'User:DannyS712/Draft no cat.js' ); // Backlink: [[User:DannyS712/Draft no cat.js]]
importScript( 'User:DannyS712/Draft re cat.js' ); // Backlink: [[User:DannyS712/Draft re cat.js]]
mw.loader.load("//pl.wikipedia.org/w/index.php?title=Wikipedysta:Msz2001/abusefilter-analyzer-primer.js&action=raw&ctype=text/javascript");
importScript('User:Andrybak/Archiver.js'); // Backlink: [[User:Andrybak/Archiver.js]]
importScript('User:Epicgenius/ArticleQuality.js'); // Backlink: [[User:Epicgenius/ArticleQuality.js]]
importScript('User:Fred Gandt/confirmLogout.js'); // Backlink: [[User:Fred Gandt/confirmLogout.js]]
mw.loader.load("http://127.0.0.1:5500")
scriptsToManage = {
"cv-revdel": "/w/index.php?title=User:Enterprisey/cv-revdel.js&action=raw&ctype=text/javascript", // [[User:Enterprisey/cv-revdel.js]]
"JWB": "/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript", // [[User:Joeytje50/JWB.js/load.js]]
"userRightsManager": "/w/index.php?title=User:MusikAnimal/userRightsManager.js&action=raw&ctype=text/javascript", // [[User:MusikAnimal/userRightsManager.js]]
"MoveToDraft": "/w/index.php?title=User:MPGuy2824/MoveToDraft.js&action=raw&ctype=text/javascript", // [[User:MPGuy2824/MoveToDraft.js]]
"spihelper": "/w/index.php?title=User:GeneralNotability/spihelper.js&action=raw&ctype=text/javascript", // [[User:GeneralNotability/spihelper.js]]
"massRollback": "/w/index.php?title=User:Writ Keeper/Scripts/massRollback.js&action=raw&ctype=text/javascript", // [[User:Writ Keeper/Scripts/massRollback.js]]
"responseHelper": "/w/index.php?title=User:MusikAnimal/responseHelper.js&action=raw&ctype=text/javascript",
"unblock-review": "/w/index.php?title=User:Enterprisey/unblock-review.js&action=raw&ctype=text/javascript", // [[User:Enterprisey/unblock-review.js]]
"unreliable": "/w/index.php?title=User:Headbomb/unreliable.js&action=raw&ctype=text/javascrip"
};
importScript('User:MusikAnimal/scriptManager.js'); // Backlink: [[User:MusikAnimal/scriptManager.js]]
importScript('User:Ahecht/Scripts/pageswap.js'); // Backlink: [[User:Ahecht/Scripts/pageswap.js]]
importScript( 'User:BrownHairedGirl/BareURLinline.js' ); // Backlink: [[User:BrownHairedGirl/BareURLinline.js]]