MediaWiki:Gadget-purgetab.js

/* Purge caption button */ $j(document).ready(function {   var $a = $j('#ca-history a')   if (!$a.length) return;   addPortletLink('p-cactions',  $a.attr('href').replace(/([?&]action=)history([&#]|$)/, '$1purge$2'), 'Purge', 'ca-purge', 'Purge the server cache of this page', '*'); });