User:Blad/global.js

/* © CC BY-SA 3.0 Publisher: Matttest if (mw.config.get('wgNamespaceNumber') % 2 == 1 && (mw.config.get('wgAction') == "edit" || mw.config.get('wgAction') == "submit")) { $(function {        if (!document.editform || !document.editform.wpSave || !document.editform.wpTextbox1) return;        var oldOnclick = document.editform.wpSave.onclick;        document.editform.wpSave.onclick = function  {            if (oldOnclick && !oldOnclick.apply(this, arguments)) return false;            if (document.editform.wpTextbox1.value.match(/~{3}/)) return true;            return confirm("You haven't signed after leaving your message, save anyway？");		};    }); }