User:Andyzweb/vector.js

/* Purge caption button */ /* addOnloadHook(function {   var hist; var url;   if (!(hist = document.getElementById('ca-history') )) return;   if (!(url = hist.getElementsByTagName('a')[0] )) return;   if (!(url = url.href )) return;   var title = (skin == "vector") ? "Purge" : "*";   mw.util.addPortletLink('p-cactions', url.replace(/([?&]action=)history([&#]|$)/, '$1purge$2'), title, 'ca-purge', 'Purge cache', '*'); }); importScript('User:Ioeth/friendly.js');

/**** afd helper ****/ importScript('User:Jnothman/afd_helper/script.js');

/* This is to keep track of who is using this extension: User:Jnothman/afd_helper/script.js */

// from Mr.Z-man addOnloadHook( function {  mw.util.addPortletLink("p-tb", mw.config.get('wgServer') + mw.config.get('wgArticlePath').replace("$1", "Special:PrefixIndex/" + wgPageName + "/"), "Subpages", "t-subpages", "See all subpages of this page"); }); importScript('User:Mr.Z-man/refToolbar.js');