Jump to content

User:Good Article Patrol Bot/Procedure

From Wikipedia, the free encyclopedia

Part 1: Confirming Symbol Transclusion

[edit]

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 Wikipedia: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. Convert the remaining pages back to mainspace.
  7. Process these pages with AWB, searching for {{Good article}}, and adding it if not transcluded.
  8. 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.

  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}}.
[edit]

Use this Regex to find the GA template on a talk page.

search:\{\{(GA|ArticleHistory.*currentstatus ?= ?GA).*\}\}