Automatic or Manually Assisted: Automatic, runs once daily
Programming Language(s): Perl, using the same Mediawiki::API framework as VeblenBot
Function Summary: Archive old peer reviews from Wikipedia:Peer review
Edit period(s) (e.g. Continuous, daily, one time run): daily
Already has a bot flag (Y/N): N
Function Details: This was requested by the person who currently archives old peer reviews by hand; see User talk:CBM/Archive_8#Possible_Bot_work_at_Peer_Review.
Each peer review uses an independent subpage, like AFD. A peer review subpage can be archived if it meets any of these criteria:
The script makes a list of these articles. Archiving requires two edits: one to the peer review subpage and one to the article talk page. The script gets the content of both these pages, does a sanity check that the templates can be replaced, then replaces the templates and saves the pages.
The source code can be browsed online.
As the person who currently does almost all of the peer review archiving by hand, I thank Carl for this, and ask that it be approved for a trial. Thanks in advance, Ruhrfisch ><>°° 02:11, 8 May 2008 (UTC)[reply]
Approved for trial (7 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. — Werdna talk 11:05, 14 May 2008 (UTC)[reply]