User:Novem Linguae/Work instructions/GAN
Appearance
Promote
[edit]- 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: {{atopg|result = Passed}} and {{abotg}} to the nomination page, if not present
- Prompt user for optional custom message?
- Article talk page
- Replace {{GA nominee}} with
- {{GA|~~~~~|topic=use GA nominee data|page=use GA nominee data}}. "Topic" and "subtopic" parameters are aliases of each other, detect both and convert to "topic". Delete other parameters. See also: Wikipedia:WikiProject Good articles/Topic Values.
- Or if {{Article history}} is present, add an entry to that instead.
- Update WikiProject templates so that class=GA
- Replace {{GA nominee}} with
- List the article at Wikipedia: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: [[Bob Jones|Jones, Bob]]
- The list is wrapped in module #invoke code, and line breaks are used as the item separators.
Demote
[edit]- 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: {{atopr|result = Failed}} and {{abotr}} to the nomination page, if not present
- Prompt user for optional custom message?
- Article talk page
- Replace {{GA nominee}} with
- {{FailedGA|~~~~~|topic=use GA nominee data|page=use GA nominee data}}. "Topic" and "subtopic" parameters are aliases of each other, detect both and convert to "topic". Delete other parameters. See also: Wikipedia:WikiProject Good articles/Topic Values.
- Or if {{Article history}} is present, add an entry to that instead.
- Replace {{GA nominee}} with