ProtectionBot is a automated program designed by User:Dragons flight to protect templates and images appearing on the Main Page and today's featured article. It does this by reading Main Page, Main Page/Tomorrow, Template:Did you know/Next update, today's featured article, tomorrow's featured article and generating a list of all images and templates used therein. It then ensures these are protected and makes an internal list so that they can be unprotected when they no longer appear on one of the high profile pages.

Details edit

This bot is designed to run several times per hour (at semi-random intervals to avoid vandals trying to trap it). The intent is to protect the main page and today's featured article, but it also looks at upcoming content so that protections can be issued before the content is placed in these high profile settings. The result is that many images and templates will be protected from about 24 hours before they are scheduled to appear on the main page until slightly after they are removed.

When an image or template is protected by this bot, it will add

<noinclude>{{User:ProtectionBot/Protected}}</noinclude>
 

 
This image or template has been temporarily protected by ProtectionBot because it is currently or will soon be displayed on the Main Page or today's featured article.
High profile images and templates are protected to prevent vandalism. Please discuss any necessary changes on the discussion page and use {{editprotected}} to request changes.
Once this image/template no longer appears on a high profile page, ProtectionBot will automatically remove the protection.

to the top of the image/template to note that it was protected by ProtectionBot, which also adds the image/template to Category:Protected by ProtectionBot.

When the protection is no longer needed, ProtectionBot will restore the previous protection state (e.g. open editing or autoconfirmed) and remove the template. Note that if any admin changes the protection before the ProtectionBot expects it to be concluded, then ProtectionBot will assume the admin knows best and not try to make any further changes to that image/template during the course of that appearance on the main page/featured article.

If the image to be protected resides on Commons rather than locally, ProtectionBot will first upload it to this wiki before protecting it. When this occurs the following message will be used instead of the one shown above.

<noinclude>{{User:ProtectionBot/Uploaded}}</noinclude>
 

 
This image has been temporarily uploaded from the Wikimedia Commons by ProtectionBot and is protected from modification because it is currently or will soon be displayed on the Main Page or today's featured article. For file history and other information, please see the Commons image description.
High profile images are protected against vandalism. Please discuss any necessary changes on the discussion page and use {{editprotected}} to request changes.
Once this file no longer appears on a high profile page, ProtectionBot will tag the local copy for deletion.

and the image will be added to Category:Uploaded by ProtectionBot.

When the image no longer needs to be protected, ProtectionBot will mark it for speedy deletion by adding:

<noinclude>{{User:ProtectionBot/Delete}}</noinclude>
ProtectionBot speedy deletion request: This image was copied from Commons by ProtectionBot in order to be protected, however the bot believes it is no longer in a high traffic area and the local copy can now be deleted.

Administrators, after deletion of this file, please check the deleted history of the image description page and restore any relevant Wikipedia-specific edits, category links, or tags that were on here beforehand.

As is currently the case with all other c-uploaded images, it is the deleting admins responsibility to check for and restore any Wikipedia specific content that may have resided on the image description page. ProtectionBot does not delete any content itself.

Safety value edit

If there is any planned downtime for ProtectionBot, warnings will be posted at the Administrator's Noticeboard and Talk:Main Page. When operating normally, ProtectionBot will occasionally update User:ProtectionBot/Timestamp. If ProtectionBot has failed to do so for more than 90 minutes, User:ProtectionBot/Stopped will change to a large warning message as illustrated below:

Shown here for illustrative purposes only

If you see this message anywhere other than directly above, please ensure that administrators are notified so that the necessary pages can be manually protected. If you want to monitor ProtectionBot yourself. You may include {{User:ProtectionBot/Stopped}} on any page. This template will normally be empty as long as ProtectionBot is operating normally. Should ProtectionBot appear to malfunction, please notify User talk:Dragons flight. If it is really malfunctioning, it can be stopped by asking any admin to block it.

See also edit