User:Gauss/common.js

importScript('MediaWiki:SectionWatchLinks.js');

importScript('User:Ruakh/CodePointRedirects.js');

/*

Rollback-message
*/

// Change rollback-message to point users at my talk-page: addOnloadHook ( function  { $('span.mw-rollback-link a').each    ( function { if(this.href.indexOf('&action=rollback&') == -1) return; if(this.href.indexOf('summary=') > -1) return; this.href += '&summary=' + encodeURIComponent ( 'Reverted edits by $2 ' +           '(talk), restoring last version by ' +            '$1.'          ); }   );  } );