User:Dto/monobook.js/DPL

/* */ /* By dto, turned on when doing WP:DPL stuff. */

if(typeof dto == "undefined" || !dto) dto = new Object;

dto.DPLonload = function { var txt = "disambig repair ([" + "[" + "WP:DPL" + "]" + "])"; var s = document.getElementById("wpSummary"); if(!s || s.value.indexOf(txt) >= 0) return;

document.getElementById("wpMinoredit").checked = true; document.getElementById("wpWatchthis").checked = false; s.value += txt; };

hookEvent("load", dto.DPLonload);

/* */