Jump to content

User:HouseBlaster/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by HouseBlaster (talk | contribs) at 21:02, 31 March 2024 (moving to skin.js). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
importScript('User:SuperHamster/CiteUnseen.js'); // Backlink: [[User:SuperHamster/CiteUnseen.js]]
importScript('User:HouseBlaster/MoveToDraft.js'); // Backlink: [[User:HouseBlaster/MoveToDraft.js]]
importScript('User:Evad37/rater.js'); // Backlink: [[User:Evad37/rater.js]]
importScript('User:Anomie/talklink.js'); // Backlink: [[User:Anomie/talklink.js]]
importScript('User:Enterprisey/diff-permalink-2.js'); //Backlink: [[User:Enterprisey/diff-permalink-2.js]]
importScript('User:Danski454/hotcat-summary.js'); //Backlink: [[User:Danski454/hotcat-summary.js]]
importScript('User:Awesome Aasim/xfdvote.js'); //Backlink: [[User:Awesome Aasim/xfdvote.js]]
importScript('User:Qwertyytrewqqwerty/DisamAssist.js'); //Backlink: [[User:Qwertyytrewqqwerty/DisamAssist.js]]
importScript('User:Enterprisey/cv-revdel.js'); // Backlink: [[User:Enterprisey/cv-revdel.js]]
importScript('User:Novem Linguae/Scripts/UserRightsDiff.js'); // Backlink: [[User:Novem Linguae/Scripts/UserRightsDiff.js]]
importScript('User:Chlod/Scripts/Deputy/AttributionNoticeTemplateEditor.js'); // Backlink: [[User:Chlod/Scripts/Deputy/AttributionNoticeTemplateEditor.js]]
importScript('User:Alexis Jazz/LuckyRename.js'); // Backlink: [[User:Alexis Jazz/LuckyRename.js]]
importScript('User:DannyS712/SATG.js'); //Backlink: [[User:DannyS712/SATG.js]]
importScript('User:BrandonXLF/FFUHelper.js'); // [[User:BrandonXLF/FFUHelper.js]]
importScript('User:Ahecht/Scripts/pageswap.js'); // Backlink: [[User:Ahecht/Scripts/pageswap.js]]
importScript('User:Eejit43/scripts/rmtr-helper.js'); // Backlink: [[User:Eejit43/scripts/rmtr-helper.js]]
importScript('User:HouseBlaster/AutoEd.js'); //Backlink: [[User:HouseBlaster/AutoEd.js]]
importScript('User:Anomie/unsignedhelper.js'); // Backlink: [[User:Anomie/unsignedhelper.js]]
importScript('User:DannyS712/DiscussionCloser.js'); //Backlink: [[User:DannyS712/DiscussionCloser.js]]
importScript('User:Trappist the monk/HarvErrors.js'); //Backlink: [[User:Trappist the monk/HarvErrors.js]]
importScript('User:Ohconfucius/script/MOSNUM dates.js'); //Backlink: [[User:Ohconfucius/script/MOSNUM dates.js]]
importScript('User:Qwerfjkl/scripts/massCFD.js'); // Backlink: [[User:Qwerfjkl/scripts/massCFD.js]]
importScript("User:PleaseStand/userinfo.js"); // Backlink: [[User:PleaseStand/userinfo.js]]
importScript( 'User:Eejit43/scripts/afcrc-helper.js' ); // Backlink: [[User:Eejit43/scripts/afcrc-helper.js]]
importStylesheet('User:HouseBlaster/talklink.css'); // Backlink: [[User:HouseBlaster/talklink.css]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Nardog/RefRenamer.js&action=raw&ctype=text/javascript'); // Backlink: [[User:Nardog/RefRenamer.js]]
mw.loader.load('/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Joeytje50/JWB.js/load.js]] //Backlink: [[User:Joeytje50/JWB.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:HouseBlaster/massmove.js&action=raw&ctype=text/javascript'); //Backlink: [[User:HouseBlaster/massmove.js]]
//importScript('User:Enterprisey/CustomSummaryPresets.js'); //Backlink: [[User:Enterprisey/CustomSummaryPresets.js]]
//importScript('User:DannyS712/Refund requester.js'); //Backlink: [[User:DannyS712/Refund requester.js]]
//importScript('User:Ohconfucius/script/formatgeneral.js'); //Backlink: [[User:Ohconfucius/script/formatgeneral.js]]
//importScript('User:Danski454/stubsearch.js'); //Backlink: [[User:Danski454/stubsearch.js]]
if (mw.config.get('wgCanonicalSpecialPageName') === 'Blankpage') { //load lintHint, but only in special namespace

// lintHint
// create a user defined object
var myLintHints = { };

myLintHints.rooms = "-";

// communicate user defined object
mw.hook( "lintHint.config" ).fire( myLintHints );

// finally, load gadget
importScript('User:PerfektesChaos/js/lintHint/r.js'); // Backlink: [[User:PerfektesChaos/js/lintHint/r.js]]
}

if (! mw.config.get('wgIsArticle')) { // only load if not on a page (watchlist, page history, etc.)
	importStylesheet('User:HouseBlaster/hidetagline.css'); // Backlink: [[User:HouseBlaster/hidetagline.css]]
}
if (mw.config.get('wgNamespaceNumber') % 2) { // load only in talk namespaces
	importScript('User:TheTVExpert/rmCloser.js'); // Backlink: [[User:TheTVExpert/rmCloser.js]]
	importScript('User:Enterprisey/archiver.js'); // Backlink: [[User:Enterprisey/archiver.js]]
	importScript('User:Terasail/Edit Request Tool.js'); // [[User:Terasail/Edit Request Tool]]
	importScript('User:Terasail/COI Request Tool.js'); // [[User:Terasail/COI Request Tool]]
} else if (mw.config.get('wgNamespaceNumber') === 14) { // load Cat-a-lot in Category namespace
	//<nowiki>
/* Cat-a-lot - changes category of multiple files */
mw.loader.using(['jquery.ui', 'mediawiki.util'], function(){
	mw.loader.load('//commons.wikimedia.org/w/load.php?modules=ext.gadget.Cat-a-lot');
});
////////// Cat-a-lot user preferences //////////
window.catALotPrefs = {
	"watchlist":"preferences",
	"editpages":true,
	"docleanup":true,
	"subcatcount":10,
	"redir_category": "Wikipedia soft redirected categories"};
////////////////////////////////////catALotEnd//
//</nowiki>
} else if ((mw.config.get('wgPageName').substring(0, 35) === "Wikipedia:Categories_for_discussion") || (mw.config.get('wgPageName').substring(0, 35) === "Wikipedia:Templates_for_discussion")) { //load [[User:Alexis Jazz/Factotum.js]] with a delay
var LoadXFDDelay = setInterval(function () { //and [[User:Nardog/CopySectLink.js]] never (it doesn't work with XFDC
clearInterval(LoadXFDDelay);
importScript('User:Alexis Jazz/Factotum.js'); 
importScript('User:Qwerfjkl/scripts/CFDlister.js'); // Backlink: [[User:Qwerfjkl/scripts/CFDlister.js]]
},3000) } else {
	importScript('User:Alexis Jazz/Factotum.js');
	mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Nardog/CopySectLink.js&action=raw&ctype=text/javascript');
}