Misplaced Pages

User:DumbBOT: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 11:47, 17 May 2006 editTizio (talk | contribs)Extended confirmed users13,761 edits switched to scheduled← Previous edit Revision as of 14:58, 7 July 2006 edit undoTizio (talk | contribs)Extended confirmed users13,761 edits updated descriptionNext edit →
Line 1: Line 1:
{{bot|Paolo Liberatore}} {{bot|Paolo Liberatore}}


==Bot description== ==Bot functions==


# This bot creates categories such as ] from yesterday for four days. These categories are created only if they do not exist already. The content of each newly created category is <nowiki>{{</nowiki>subst:]<nowiki>}}</nowiki>. It has a 30 sec delay between creation of each category # creates categories such as ]
# list incomplete AfD nominations at ]
# complete nominations when the AfD subpage exists but is not listed
==Bot internals==
# the ] 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 <nowiki>{{</nowiki>subst:]<nowiki>}}</nowiki>. It has a 30 sec delay between creation of each category
# the the list of incomplete AfDs is generated as follows (this function is not scheduled):
## the whole category ] is downloaded (this requires multiple downloads)
## the list of article is extracted, downloaded as a single export, and broke down in a local directory
## 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
## the list of AfD subpages is created; these subpages are downloaded as a single export and broke down in a local directory
## comparing the list of subpages with the list of downloaded subpages, the list of non-existent subpages is created
## 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
# the unlisted afds are listed:
## the pages linking to each is downloaded to check whether the subpage is still unlisted
## for every subpages, it is checked whether the header <nowiki>==]==</nowiki> is present; if not it is added; also added is a note that the AfD was incomplete, with a link to the correct procedure
## the wikicode to add to the afd of the day the incomplete nominations is generated (this is added manually)

==Bot description==
# It is a bash script using sed, awk, grep, and curl. # It is a bash script using sed, awk, grep, and curl.
# <del>It is currently manually run</del> It runs at 12:14 every day, local time # The AfD part is manually run
# The prod cat creation is done at It runs at 15:50 every day, local time
# It is supposed to be run until the toolserver gets the updates for winien, and for future periods of unavailability of the toolserver # The prod cat part will be run until the toolserver gets the updates for winien again; it will be run for future periods of unavailability of the toolserver
# Maintainer is ] # Maintainer is ]

Revision as of 14:58, 7 July 2006

Misplaced Pages editing bot run by Paolo Liberatore
This user account is a bot operated by Paolo Liberatore (talk). It is used to make repetitive automated or semi-automated edits that would be extremely tedious to do manually, in accordance with the bot policy.
Administrators: if this bot is malfunctioning or causing harm, please block it.

Bot functions

  1. creates categories such as Category:Proposed deletion as of 15 January 2025
  2. list incomplete AfD nominations at /IncompleteAfD
  3. complete nominations when the AfD subpage exists but is not listed

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 {{subst:Prod subcategory starter}}. 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):
    1. the whole category is downloaded (this requires multiple downloads)
    2. the list of article is extracted, downloaded as a single export, and broke down in a local directory
    3. 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
    4. the list of AfD subpages is created; these subpages are downloaded as a single export and broke down in a local directory
    5. comparing the list of subpages with the list of downloaded subpages, the list of non-existent subpages is created
    6. 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
  3. the unlisted afds are listed:
    1. the pages linking to each is downloaded to check whether the subpage is still unlisted
    2. for every subpages, it is checked whether the header ==]== is present; if not it is added; also added is a note that the AfD was incomplete, with a link to the correct procedure
    3. the wikicode to add to the afd of the day the incomplete nominations is generated (this is added manually)

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 It runs at 15:50 every day, local time
  4. The prod cat part will be run until the toolserver gets the updates for winien again; it will be run for future periods of unavailability of the toolserver
  5. Maintainer is User:Paolo Liberatore
Categories: