User:Novem Linguae/Work instructions/GAN

Promote

 * Check that the script is being run from a GA subpage. Correctly identify the target article. Verify that the target article has a GA nominee template on its talk page.
 * Add below the first level 2 heading: and  to the nomination page, if not present
 * Prompt user for optional custom message?
 * Article talk page
 * Replace GA nominee with
 * . "Topic" and "subtopic" parameters are aliases of each other, detect both and convert to "topic". Delete other parameters. See also: WikiProject Good articles/Topic Values.
 * Or if Article history is present, add an entry to that instead.
 * Update WikiProject templates so that class=GA
 * List the article at Good articles in the appropriate section
 * If unable to determine topic and subtopic from GA template, prompt the user for this information using a popup window, or collect it before they hit the accept button.
 * Some subtopics appear to have sub-subtopics that will need to be selected
 * Subtopic lists appear to be alphabetized. If it is a person, the alphabetizing is by last name.
 * Subtopic lists for people format them like this: Jones, Bob
 * The list is wrapped in module #invoke code, and line breaks are used as the item separators.

Demote

 * Check that the script is being run from a GA subpage. Correctly identify the target article. Verify that the target article has a GA nominee template on its talk page.
 * Add below the first level 2 heading: and  to the nomination page, if not present
 * Prompt user for optional custom message?
 * Article talk page
 * Replace GA nominee with
 * . "Topic" and "subtopic" parameters are aliases of each other, detect both and convert to "topic". Delete other parameters. See also: WikiProject Good articles/Topic Values.
 * Or if Article history is present, add an entry to that instead.