Cool Cat wrote:
We have Interiots edit counter. Its futile to code any kind of java edit counter. We need java script solution to various problems on commons such as license tags. See [[User:Cool Cat/Sandbox]] for a sample. A few popus will be nice to help people doing the cleanup work. I would really like to be able to delete images by clicking a link at the [[COM:DEL]] sub page citing that [[COM:DEL]] sub page for the reason. Or another tool that will add {{delh}} ---- {{delf}} properly for me.
Ask and ye shall receive:
function closedel(result) { var txt = document.editform.wpTextbox1; txt.value = "{{subst:delh}}\n" + txt.value + "\n----\n" + result + " – ~~~~\n{{subst:delf}}\n"; txt = document.editform.wpSummary; txt.value = "close discussion"; }
I'm somewhat thinking of throwing it into extra-tabs.js, except that it becomes somehat cross-purposed (image tools vs. other stuff)...
As for a "nuke image from COM:DEL page", I'd like to finish quick-delete first.