User:RafaelS1979/common.js

//Smartrollback

// Provides several useful functions for rollback (custom edit summary, mark as bot edits and mass revert) // by m:user:Hoo man  mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/smart_rollback.js&action=raw&ctype=text/javascript'); if(typeof(smartRollbackConfig) === 'undefined') smartRollbackConfig = {}; smartRollbackConfig.editSummaries = {}; smartRollbackConfig.editSummaries[0] = 'revert; vandalism'; smartRollbackConfig.editSummaries[1] = 'another edit summary which can be chosen'; smartRollbackConfig.editSummaries[2] = 'and another one'; //AutoEd importScript('Wikipedia:AutoEd/complete.js'); //AutoFormatter mw.loader.load( '//de.wikipedia.org/w/index.php?title=Benutzer:TMg/autoFormatter.js&action=raw&ctype=text/javascript' ); //confirmationRollback ConfirmationRollback = "confirm"; //confirmRollback importScript('User:MusikAnimal/confirmationRollback.js'); // Linkback: User:MusikAnimal/confirmationRollback.js; //check copyvios importScript("User:The Earwig/copyvios.js"); //DisamAssist importScript( 'User:Qwertyytrewqqwerty/DisamAssist.js' ); // Backlink: User:Qwertyytrewqqwerty/DisamAssist.js //PurgeChache /* Customise purge tab's text */ $( document ).ready( function {	$( 'a', '#ca-purge' ).text( 'p' ); });