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.
# (proposed) list articles that are tagged <nowiki>{{copyvio}}</nowiki> but not listed
# (proposed) list articles that are tagged <nowiki>{{copyvio}}</nowiki> but not listed
# temporarily replace Zorglbot on some operations of ] (will stop when that bot is back to normal operation)
==Bot internals==
==Bot internals==
Revision as of 23:01, 13 October 2006
Misplaced Pages editing bot run by Tizio
This user account is a bot operated by Tizio (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.
(proposed) list articles that are tagged {{copyvio}} but 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 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)
finding the articles that are in the first list but not in the second
downloading these articles, and getting the url argument of the {{copyvio}} template
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