User:DumbBOT

Bot functions

 * 1) creates categories such as Category:Proposed deletion as of 27 August 2024
 * 2) list incomplete AfD nominations at User:DumbBOT/IncompleteAfD
 * 3) complete nominations when the AfD subpage exists but is not listed
 * 4) creates a summary of the articles tagged WP:PROD at /ProdSummary
 * 5) list articles that are tagged  but not listed
 * 6) maintain User:DumbBOT/RfArSummary and User:DumbBOT/UsernameChange
 * 7) removes protection templates from non-protected pages

Bot internals

 * 1) the WP:PROD daily categories are created for the days from yesterday for four days. These categories are created only if they do not exist already. The content of each newly created category is  . It has a 30 sec delay between creation of each category
 * 2) the the list of incomplete AfDs is generated as follows (this function is not scheduled):
 * 3) the whole category Category:Articles for deletion is downloaded (this requires multiple downloads)
 * 4) the list of article is extracted, downloaded as a single export, and broke down in a local directory
 * 5) from the content of this directory, the pages not linking to the AfD category and the pages not containing a link to the AfD debate is computed
 * 6) the list of AfD subpages is created; these subpages are downloaded as a single export and broke down in a local directory
 * 7) comparing the list of subpages with the list of downloaded subpages, the list of non-existent subpages is created
 * 8) for every subpage, it is determined whether it is a redirect (in which case the target is downloaded), and whether it is listed in the page of debates of a day
 * 9) the unlisted afds are listed:
 * 10) the pages linking to each is downloaded to check whether the subpage is still unlisted
 * 11) for every subpages, it is checked whether the header ==pagename== is present; if not it is added; also added is a note that the AfD was incomplete, with a link to the correct procedure
 * 12) the wikicode to add to the afd of the day the incomplete nominations is generated (this is added manually)
 * 13) the prod summary is created by:
 * 14) downloading the list of articles in Category:All_articles_proposed_for_deletion
 * 15) downloading all articles in the category
 * 16) getting the data from the  template
 * 17) the copyvio completion is done by:
 * 18) downloading the list of articles in Category:Possible copyright violations
 * 19) downloading Copyright_problems and linked subpages
 * 20) finding the articles that are in the first list but not in the second
 * 21) downloading these articles, and getting the url argument of the  template

Bot description

 * 1) It is a bash script using sed, awk, grep, and curl.
 * 2) The AfD part is manually run
 * 3) The prod cat creation is done at 15:50 every day, local time
 * 4) The prod cat part will be run until the toolserver gets the updates for wikien again; it will be run for future periods of unavailability of the toolserver

Edit count
Edit count

tr:Kullan%C4%B1c%C4%B1:DumbBOT