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
{{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.
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.
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
{{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.