Jump to content

User:ערן/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.
//autocomplete links and templates
mw.loader.load('//bits.wikimedia.org/he.wikipedia.org/load.php?debug=false&lang=he&modules=ext.gadget.autocomplete');
// math dialog
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:ערן/mathjaxdialog.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400');


//Quick linker - add links to the current page from related articles
mw.loader.load('//he.wikipedia.org/w/index.php?title=User:ערן/quickLinker.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400'); // [[User:ערן/quickLinker.js]]

//add ref toolbar to VE
/*
importScript('User:ערן/refToolbarVeLoader.js');
importScript('User:ערן/veReplace.js');
mw.loader.using( 'ext.visualEditor.desktopArticleTarget.init', function(){
	mw.libs.ve.addPlugin( function() { 
		return $.getScript('https://en.wikipedia.org/w/index.php?title=User:ערן/veReplace.js&action=raw&ctype=text/javascript'); 
	} );
});


importScript('User:ערן/plagiabot.js');
*/