User:^demon/CSD AutoReason
From Wikipedia, the free encyclopedia
This is no longer needed with the advent of MediaWiki:Deletereason-dropdown. ^demon[omg plz] 01:19, 1 December 2007 (UTC)
Admins, ever get tired of having to link to the CSD criteria when speedying an article? Well, never fear, because this script will add a drop down box on the right of the Delete Reason box, filled with all of the various CSD criteria. The best part is that they're all linked to the corresponding descriptions on the main CSD page.
Name | Version | Description | Skins | Author |
---|---|---|---|---|
CSD AutoReason | 1.0 | Gives admins a drop-down box of all the CSD criteria. | All (untested outside Monobook, but should work) | ^demon |
1.1 | Fixes a minor bug causing a break in IE6. Also updated descriptions for log entries | All (untested outside Monobook, but should work) | ^demon | |
1.2 | Accounts for new titling of deletion page ('Confirm Deletion' instead of 'Confirm Delete'). Script will now work on *either* page title. Descriptions were revised and expanded. | All (untested outside Monobook, but should work) | ^demon, DESiegel | |
1.3 | Switched from using the check on page title and is now using wgAction=='delete', which is better and makes it work on other languages. Secondly, the image deletion page was updated (here), so had to switch to the new name of the comment box. Will be switching back soon because of this. | All (untested outside Monobook, but should work) | ^demon, Alex Smotrov | |
1.3.1 | Minor fix to allow working on both forms of deletion pages | All (untested outside Monobook, but should work) | Alex Smotrov |
Contents |
[edit] Installation instructions
To install the script:
- Go to Special:Mypage/monobook.js and click "Edit this page" (or your own skin, changing the /monobook to /whatever)
- Copy/Paste the following script into the edit box, and save. Follow the displayed instruction to bypass your browser cache.
However, if you don't want to call directly from my script and would rather paste it straight into your own JS file, you can do that by going here.
Optionally, you can add your name to the list of users so I know who to notify when I make updates.
[edit] Code
[edit] JavaScript
// CSD AutoReason importScript('User:^demon/csd.js');
[edit] Usage
Now, find a page to delete. Using the drop-down box, select the criteria you want to use. Enjoy.
[edit] User reviews
It makes deletion fun and easy again, it cured my herpes, and it gave me rock-hard abs in only three weeks. Not only that, but it can cut through steel and tomatoes with ease. I love it!
A wonderful application that no admin should be without. I'm sure the side effects (ringing in the ears, constipation) are only temporary.
Awesome script. Thank you, it cured my migraine instantly.--Sandahl 03:06, 28 October 2007 (UTC)
[edit] See also
- User:Steel359/Protection js – script creates a similar box (two actually) for the page protection screen.
[edit] Licensing
I fully release this source code into the public domain. In situations where this is not possible, I release it to be freely used, modified and redistributed with no conditions save credit to myself as original author.