User:Henrik/afc-helper

From Wikipedia, the free encyclopedia

This is a script to help streamline the Articles for Creation process. I discovered how tedious it was to type the templates over and over. So, being a programmer, I decided to do something about it :-)

I've created a small javascript helper that will let you do one-click-declines for most cases. If you install this script, next to the edit button on the section heading there'll be a bunch of links corresponding to the most common decline templates.

It'll look something like this:

Image:Afc-helper.png

Clicking one of the links will insert the top and bottom templates, the reason and your signature and then submit the page with the edit summary "declined + <reason>" for that section. Accepts will still have to be handled manually.

There are a number of caveats though:

  • I've hacked this together tonight, and it is not well tested. Keep your fingers near the revert button :-)
  • It won't work if you have the AFD helper installed. Please disable or uninstall it before trying this.
  • It's only tested in Firefox 2.0. Please let me know if it works or doesn't work in your favorite browser.

To install, add

// [[User:Henrik/afc-helper]]
importScript('User:Henrik/js/afc-helper.js'); 

to your monobook.js (located at User:YOURUSERNAME/monobook.js)

I hope you find the idea useful! Any help testing this would be appreciated.