User:Msh210/rollback.js

// This was copy-pasted from user:Ruakh/common.js (to which it'd been added by user:Ruakh) and modified. 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) ' +           'to last version by $1. If you disagree, please discuss at my user-talk page.'          ); }   );  } );