Jump to content

User:Moonythedwarf/common.js

From Wikipedia, the free encyclopedia
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:Moonythedwarf/handyman.js'); // Backlink: [[User:Moonythedwarf/handyman.js]]
// [[File:Krinkle_RTRC.js]]
//importScript("User:Ed6767/redwarn.js");
(mw.loader.getState('ext.gadget.rtrc') ? mw.loader.load('ext.gadget.rtrc') : mw.loader.load('https://www.mediawiki.org/w/load.php?modules=ext.gadget.rtrc&lang=' + mw.config.get('wgUserLanguage', 'en')));
importScript('User:Enterprisey/reply-link.js'); // Backlink: [[User:Enterprisey/reply-link.js]]
importScript( 'User:DannyS712/EFFPRH.js' );

$.when(mw.loader.using('mediawiki.util'), $.ready).then(function () { 
	if (mw.config.get("wgSiteName") === "Wikipedia") {
    	mw.util.addPortletLink("p-personal", new mw.Title("User:MoonyTheDwarf/Index").getUrl(), "Index");
    	mw.util.addPortletLink ('p-tb', mw.config.get('wgServer')+mw.config.get('wgArticlePath').replace("$1", "Special:PrefixIndex/"+mw.config.get('wgPageName')+"/"), 'Subpages');
	}
});
importScript('User:DannyS712/AjaxRollback.js'); // Backlink: [[User:DannyS712/AjaxRollback.js]]
importScript('User:Moonythedwarf/extra-unreliable-devel.js'); // Backlink: [[User:Moonythedwarf/extra-unreliable-devel.js]]
importScript('User:Headbomb/unreliable.js'); // Backlink: [[User:Headbomb/unreliable.js]]
importScript('User:Evad37/MoveToDraft.js'); // Backlink: [[User:Evad37/MoveToDraft.js]]