User:Good Article Patrol Bot/Procedure
Appearance
Part 1: Confirming Symbol Transclusion
[edit]This part of the procedure deals with ensuring that all true Good articles transclude {{Good article}}.
- Using AWB's "Make list" function, obtain a list of pages linked to on Wikipedia:Good articles.
- Filter the non-mainspace pages out of this list.
- Convert these pages into "Talk:" pages.
- Obtain an XML dump of these pages using Special:Export.
- Scan the dump for transclusions of {{GA}}, or of {{ArticleHistory}} where the currentstatus parameter is set to "GA".
- 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.
- Convert the remaining pages back to mainspace.
- Process these pages with AWB, searching for {{Good article}}, and adding it if not transcluded.
- 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
[edit]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.
- Using AWB's "Make list" function, obtain a list of pages that transclude {{Good article}}.
- Convert these pages to "Talk:" pages.
- Obtain a dump of these pages.
- Scan the dump for pages that do not transclude {{GA}}, or {{ArticleHistory}} where the currentstatus parameter is set to "GA".
- Convert the remaining pages back to mainspace.
- Process these pages with AWB, removing {{Good article}}.
Regex Search
[edit]Use this Regex to find the GA template on a talk page.
search:\{\{(GA|ArticleHistory.*currentstatus ?= ?GA).*\}\}