User:Kew Gardens 613/common.js

Source: 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.
/* Customise purge tab's text */
$( document ).ready( function() {
	$( 'a', '#ca-purge' ).text( 'purge' );
});
importScript('User:Ohconfucius/script/MOSNUM dates.js'); // [[User:Ohconfucius/script/MOSNUM dates.js]]
importScript('User:Kephir/gadgets/rater.js'); // [[User:Kephir/gadgets/rater]]
function addEditCounter(){
          mw.util.addPortletLink("p-personal","https://toolserver.org/~tparis/pcount/index.php?&name="+mw.config.get('wgUserName') +"&lang=en&wiki=wikipedia" ,"Edit Counter","pt-mycounter","Edit Counter", "", document.getElementById('pt-logout'));
}
 
addOnloadHook(addEditCounter);
//<nowiki>
//To install, add the following to your common.js: {{subst:iusc|User:MusikAnimal/confirmationRollback.js}}
$.when( mw.loader.using( ['mediawiki.util'] ), $.ready).then( function() {
	$(".mw-rollback-link").on('click', function(e) {
		var count = e.target.innerText.match(/\d/) ? e.target.innerText.match(/\d+/)[0] : null,
			message = 'Rollback ' + (count ? count + ' edits' : 'edit') + ' by ' + mw.util.getParamValue('from',e.target.href) + '?';
		if(!confirm(message)) return e.preventDefault();
	});
}());
//</nowiki>
importScript('User:Bility/convert24hourtime.js');
//<nowiki>
importScript( 'User:ZLEA/Dashboard.js' );// [[User:ZLEA/Dashboard.js]]

mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Nardog/ExpandContractions.js&action=raw&ctype=text/javascript');

importScript("User:Awesome Aasim/savedraft.js");

importScript('User:Þjarkur/Highlight recently added text.js');

importScript('User:Evad37/duplinks-alt.js');

importScript('User:Nardog/RefRenamer.js'); // Backlink: [[User:Nardog/RefRenamer.js]]

importScript('User:Ohconfucius/script/formatgeneral.js'); // [[User:Ohconfucius/script/formatgeneral.js]]
importScript('User:ZKang123/TitleCaseConverter.js'); // Backlink: [[User:ZKang123/TitleCaseConverter.js]]