MediaWiki:Gadget-linkPurge.js

// By Equazcion: http://terraria.gamepedia.com/User:Equazcion

var linkPurge = mw.config.get( 'wgScript' ) + '?title=' + encodeURIComponent( mw.config.get( 'wgPageName' ) ) + '&action=purge'; var linkPurgeElement = ' Purge '; $('#left-navigation ul').append(linkPurgeElement);