Jump to navigation
Jump to search
(and... again) |
m (moved User:Monohymn/BlueCloud.js to User:Monohymn/bluecloud.js: Fix capitalization) |
(No difference)
|
Latest revision as of 03:13, 5 June 2010
/* Force preview for anons */
/* by Marc Mongenet, 2006, fr.wikipedia */
function forcePreview() {
if (wgAction != "edit") return;
saveButton = document.getElementById("wpSave");
if (!saveButton) return;
saveButton.disabled = true;
saveButton.value = "Save page (use preview first)";
saveButton.style.fontWeight = "normal";
document.getElementById("wpPreview").style.fontWeight = "bold";
}
addOnloadHook(forcePreview);
/* End of forcePreview */