Jump to content

Wikipedia:WikiProject Guild of Copy Editors/Requests/Automation

From Wikipedia, the free encyclopedia

The Guild of Copy Editors' Requests page (REQ) is automatically archived using a bot script called YiFeiBot 2 (Bot Approval Group page here). The bot deletes requests marked with certain templates and records them in the current archive page. This page has been written to present information about the archiving bot script for users who are unfamiliar with the way GOCE archiving works. The bot script has been written to comply with established GOCE practices but it can only function correctly if presented with certain codes and templates.

Instructions

[edit]

Editors who are familiar with the GOCE's ways should continue to use REQ as you always have but please read this guide anyway. Editors requesting for the first time and new GOCE copyeditors should read the information at the top of REQ before adding your request.

Once an hour, YiFeiBot 2 scans REQ looking for certain templates

The template detection is case-insensitive regex-based. These are matches:

  • {{partly_done}}
  • {{ParTlY donE}}
  • <!--{{partly done}}-->
  • <nowiki>{{partly done}}</nowiki>

These are non-matches:

  • {{ partly done }}
  • {{tl|partly done}}

I should also clarify that the bot will expect a properly-formatted archive page (like Special:Permalink/870482277) before it runs. It will not create the page if it doesn't exist, and if one entry should be added to a non-existent page (or otherwise can't find the table to add to) then it will skip that entry and not archive the section. --Zhuyifei1999 (talk) 05:19, 14 October 2019 (UTC)

Also, if you add {{subst:unsigned}}, please don't sign yours after {{subst:unsigned}}. It's always the last signature & user (or user talk) link that counts. --Zhuyifei1999 (talk) 05:23, 14 October 2019 (UTC) [ https://en.wikipedia.org/w/index.php?title=Wikipedia_talk:WikiProject_Guild_of_Copy_Editors/Requests&oldid=921286270#Archiving_bot_basics diff].