User:Connel MacKenzie/del-cmnt.js

// This used to link to sysop-Deleted, don't delete that page.

function deletionComment { var reason = document.getElementById('wpReason'); if (reason) { reason.value = "--explanation of deletion--"; } }

if (wgAction == "delete") addOnloadHook( deletionComment );