MediaWiki:Gadget-button-editorial-sign.js

/* */ /* Edit button: editorial signature to use in the editorial template. */ GTPR_dateNow = new Date; GTPR_timeStamp = GTPR_dateNow.getDate + ". " + (GTPR_dateNow.getMonth + 1) + ". " + GTPR_dateNow.getFullYear; GTPR_editSign = " = " + wgUserName + ", " + GTPR_timeStamp; if (mwCustomEditButtons && wgNamespaceNumber == 1) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://upload.wikimedia.org/wikipedia/commons/d/d1/Button_mysignature.png", "speedTip": "Editorial signature", "tagOpen": GTPR_editSign, "tagClose": "", "sampleText": ""} } /* */