Revision as of 14:58, 7 July 2006 editTizio (talk | contribs)Extended confirmed users13,761 edits updated description← Previous edit | Revision as of 13:46, 9 July 2006 edit undoZoz (talk | contribs)3,573 editsm fixing cat - page was categorized under Category:Articles for deletionNext edit → | ||
Line 11: | Line 11: | ||
# 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 ] 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 the list of incomplete AfDs is generated as follows (this function is not scheduled): | ||
## the whole category ] is downloaded (this requires multiple downloads) | ## 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 | ## 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 | ## 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 |
Revision as of 13:46, 9 July 2006
Misplaced Pages editing bot run by Paolo LiberatoreThis 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
- creates categories such as Category:Proposed deletion as of 15 January 2025
- list incomplete AfD nominations at /IncompleteAfD
- complete nominations when the AfD subpage exists but is not listed
Bot internals
- 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
- the the list of incomplete AfDs is generated as follows (this function is not scheduled):
- the whole category Category:Articles for deletion 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 ==]== 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.
- The AfD part is manually run
- The prod cat creation is done at It runs at 15:50 every day, local time
- 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 User:Paolo Liberatore