Celestianpower's AdminTools JS

edit
 
The tabs when viewing my userpage

My monobook is mainly just a compilation of loads of useful scripts that I've found round and about. It doesn't look particularly pretty and is Spaghetti code but, for admins, I think it's invaluable: saving time on warning, AfDing and much more. This has only been tested on the English Wikipedia and using Firefox, so I can't vouch for other wikis or browsers. Also, some of the features are very personal to my needs (link the link to w:template:Ea-welcome, so will need to be removed.

List of features

edit
Personal bar
  • The "talk link" has gone Spanish and most of the links have been shortened (Ie, Preferences => Prefs).
  • Links have been added to the #wikipedia-esperanza and #wikipedia-en-vandalism IRC channels.
  • A link has been added to Kate's tool, which opens in an i-frame.
  • It shows the time in UTC.
Navbar
Additional tabs on viewing a userpage/user talkpage
 
The tabs when editting my userpage
  • Last diff - Links to the difference for the last edit of the page.
  • Block - Links to [[Special:Blockip/<UsernameOfUser>]].
  • Blocklog - Links to the Special:Blocklog of that user.
  • Purge - Purges the cache of the current page.
Additional tabs when editting a page
 
The tabs when editting my user talkpage
  • Last diff - Links to the difference for the last edit of the page.
  • Replace - Runs a regex query on the page (find and replace).
  • es (you may wish to remove this one) - Adds an interwiki link to the spanish Wikipedia for the page (with a prompt box).
  • i-wiki - Adds an interwiki link to any Wikipedia for the page (with a prompt box).
  • AfD -
    1. Adds {{subst:afd}} to the top of the current page.
    2. Opens a new window at the edit screen for [[Wikipedia:Articles for deletion/<ArticleName>]] and adds {{subst:afd2}} to the top of it, with some of the data already added, ready for you to type in the reason and just press [save].
    3. Adds {{subst:afd3|pg=<ArtcileName>}} to the bottom of today's AfD page.
  • Purge - Purges the cache of the current page.
Additional tabs when editting a user talkpage
 
The prompt for warning a vandal
 
The tabs when closing an AfD and the prompt that appears when you close it as "other" (you can use the delete and keep tags for auto-close keep or delete)
  • Last diff - Links to the difference for the last edit of the page.
  • ip - adds {{subst:anon}} to the page.
  • Welcome! - adds {{subst:User:celestianpower/welcome}} to the page (needs to be changed to suit each user (unless you want to keep mine ;))
  • ea! (You will want to remove this) - Adds {{ea-welcome}} to the page.
  • t1 - Prompts you for the name of the article being vandalised then adds {{subst:test1-n|<ArticleYouEntered>}} to the page.
  • t2 - Prompts you for the name of the article being vandalised then adds {{subst:test2-n|<ArticleYouEntered>}} to the page.
  • t3 - Prompts you for the name of the article being vandalised then adds {{subst:test3-n|<ArticleYouEntered>}} to the page.
  • t4 - Prompts you for the name of the article being vandalised then adds {{subst:test4-n|<ArticleYouEntered>}} to the page.
  • Blocked! - Prompts you for the length of the block in hours and then adds {{subst:vbc-t|<lengthOfBlock> hours}} to the page.
  • Purge - Purges the cache of the current page.
  • Note: There are other tabs but they aren't relevant to editting a user talkpage
Additional tabs when editting an AfD subpage
  • Last diff - Links to the difference for the last edit of the page.
  • Keep - closes the AfD as keep (with the relevant templates).
  • Delete - closes the AfD as delete (with the relevant templates).
  • Other - prompts for the result of the debate and then closes it for you (see screenshot).
  • Replace - Runs a regex query on the page (find and replace).
  • Purge - Purges the cache of the current page.
  • Note: Again, there are other tabs but they aren't relevant to editting an AfD subpage
Other
  • Includes 2 of Lupin's scripts, popups and live recent changes.
  • On AfD log pages, it gives the opportunity to hide all closed AfDs (with a [hide] tab).