User:Sahmeditor/monobook.js

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

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

//

// addPurge $(function {    var hist; var url;    if (!(hist = document.getElementById('ca-history') )) return;    if (!(url = hist.getElementsByTagName('a')[0] )) return;    if (!(url = url.href )) return;    mw.util.addPortletLink('p-cactions', url.replace(/([?&]action=)history([&#]|$)/, '$1purge$2'), 'purge', 'ca-purge', 'Purge server cache for this page', '0'); });

// importScript("User:Lupin/recent2.js");