User:Terasail II/common.js

importScript('User:Terasail/Edit Request Tool.js'); importScript('User:Terasail/ReferenceHider.js'); importScript('User:Terasail/IdMatch.js'); importScript('User:Terasail/Workspace.js');

mw.loader.load("https://ko.wikipedia.org/w/index.php?action=raw&title=미디어위키:Gadget-scrollUpButton.js&ctype=text/javascript");

//Purge page button var userPurge = mw.util.addPortletLink('p-cactions', '#', 'Purge', 'ca-purge', 'Purge this page'); $(userPurge).click(function(event) {	window.location = "/wiki/" + mw.config.get("wgPageName") + '?action=purge'; }); //Auto run purge if (window.location.search == "?action=purge") { document.getElementsByClassName("oo-ui-inputWidget-input oo-ui-buttonElement-button")[0].click; } //Width: 852