User:Master Jonathan/monobook.js

function add_purge_tab { // Only add for pages with the right string somewhere in the title if ((wgCanonicalNamespace != "Special") && (document.title.indexOf("Editing ") == -1)) {     var URL = 'http://starwars.wikia.com/index.php?title=' + wgCanonicalNamespace + ':' + wgTitle + '&action=purge' addPortletLink('p-cactions', URL, "purge"); } } addOnloadHook(add_purge_tab);