I am a Script-1, where am I supposed to put that? Monobook? That script should also create a default summary for the delete window assuming I decide to delete. It should remove delete template if I decide to keep. (delete/keep combo box perhaps with excuse field as a text box)
   - Cool Cat

On 11/23/06, Alphax (Wikipedia email) <alphasigmax@gmail.com> wrote:
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 + " &ndash; ~~~~\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.

--
Alphax - http://en.wikipedia.org/wiki/User:Alphax
Contributor to Wikipedia, the Free Encyclopedia
"We make the internet not suck" - Jimbo Wales
Public key: http://en.wikipedia.org/wiki/User:Alphax/OpenPGP



_______________________________________________
Commons-l mailing list
Commons-l@wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/commons-l