User:MediaMangler/monobook.js

importScript('User:Lupin/popups.js');

//Interiot's javascript edit counter if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) { mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Interiot/Tool2/code.js&action=raw&ctype=text/javascript'); }

function diff_only_buttons { handle_diff('differences-prevlink'); handle_diff('differences-nextlink'); function handle_diff(diff_id) {   var link = document.getElementById(diff_id); if (link == null) {     return false; }   var diff_only = document.createElement('a'); diff_only.id = diff_id; diff_only.href = link.href + '&diffonly=1'; diff_only.appendChild(document.createTextNode(' - (Diff only)')); link.parentNode.appendChild(diff_only); return true; } } $(diff_only_buttons)