User:Gryllida/DraftsReview

This script helps to review Drafts, initially reviewed as a part of the Articles for Creation initiative. These exist as an opportunity for unregistered contributors to create pages as they have no access to page creation directly. Those also exist as an opportunity for everyone to receive detailed feedback — and less strict deletion criteria — for their work. This, while making the article creation slower and harder for those who have a healthy interest in free knowledge, makes first articles of newcomers less likely to get deleted.

Rationale
Unlike the existing helper script (AFCH), this script is
 * ...in jQuery.
 * It features a /text subpage to customize its layout, default messages, and canned responses just by editing wiki markup — without risking to break fragile JavaScript.
 * It also has a different decline layout, by enforcing 'reason' decline reason and providing canned responses to make it possible to leave verbose comments on multiple issues...
 * ...and also make them more human as you can type anything you like to show interest in the article topic choice or some good work done.

Installation
Add this to Special:MyPage/common.js:

if(mw.config.get('wgPageName').replace(/_/g, ' ').lastIndexOf("Wikipedia talk:Articles for creation", 0) === 0){ importScript('User:Gryllida/DraftsReview/v2.js'); }

Currently only tested in Wikipedia talk:Articles for creation* namespace. Draft: namespace support is not yet available.

Interface
All interface is provided with a log box below. You have to read it carefully to make sure that your review action got through. Each action may be carrier out multiple times, if it failed first time. Your input is not lost.

Approving a submission
The Approve tab takes you to approval interface. It includes these boxes:
 * Target page name. Name to move the page to once approved.
 * Check button. This checks whether the page already exists. If not, an error message appears in the box below.
 * A WikiProject dropdown. You have to use it. Once approved, the page will be read by enthusiasts familiar with the topic: a WikiProject template would add its talk page to a relevant category.
 * The Approve button.
 * A log box. Errors and messages are shown, to keep track of your actions and possible errors.

All AFC templates will be moved to the article talk page.

Declining a submission
The Decline or comment tab takes you to the decline or comment interface. It includes these boxes:
 * A large text area to type your review comment in. Draft your comment here as you read through the article.
 * A dropdown with canned responses. You can edit them at the /text subpage.
 * Decline and Comment buttons.
 * A log box. Errors and messages are shown, to keep track of your actions and possible errors.

Such interface encourages you writing a verbose comment during your review.