MediaWiki:Gadget-CleanDeletions.js

//Written and maintained by User:Mike.lifeguard function deletemods{ var wpReason = document.getElementById("wpReason"); if (!wpReason) return; if ( /(content was|page was empty|content before blanking was|page was empty)/i.test(wpReason.value) ){ wpReason.value = ""; } } if (mw.config.get( 'wgAction' ) == "delete") $(deletemods);