User:Good Article Patrol Bot/Procedure

Part 1: Confirming Symbol Transclusion
This part of the procedure deals with ensuring that all true Good articles transclude Good article.
 * 1) Using AWB's "Make list" function, obtain a list of pages linked to on Good articles.
 * 2) Filter the non-mainspace pages out of this list.
 * 3) Convert these pages into "Talk:" pages.
 * 4) Obtain an XML dump of these pages using Special:Export.
 * 5) Scan the dump for transclusions of GA, or of ArticleHistory where the currentstatus parameter is set to "GA".
 * 6) *Any of the dump pages that are found to lack the above templates should be listed at User:Good Article Patrol Bot/Anomalies, and/or dealt with by the botop at earliest availability.
 * 7) Convert the remaining pages back to mainspace.
 * 8) Process these pages with AWB, searching for Good article, and adding it if not transcluded.
 * 9) When finished, check the statistics box on the bot's userpage. If numbers are still inconsistent, move on to Part 2 of this procedure. Otherwise, the bot's run is now complete.

Part 2: Checking Symbol Transclusion
This part of the procedure deals with ensuring that all articles that transclude Good article are indeed Good articles. This should only be run if the statistics on the main userpage are still inconsistent after running Part 1.
 * 1) Using AWB's "Make list" function, obtain a list of pages that transclude Good article.
 * 2) Convert these pages to "Talk:" pages.
 * 3) Obtain a dump of these pages.
 * 4) Scan the dump for pages that do not transclude GA, or ArticleHistory where the currentstatus parameter is set to "GA".
 * 5) Convert the remaining pages back to mainspace.
 * 6) Process these pages with AWB, removing Good article.

Regex Search
Use this Regex to find the GA template on a talk page. search:\{\{(GA|ArticleHistory.*currentstatus ?= ?GA).*\}\}