User:GreenC bot/Job 10

shadows is a bot to tag File pages that have the same name on Commons with the template.

For example, if there exists File:Cane.jpg on both EnWiki and Commons, the EnWiki file is tagged with.

The bot will run continuous on a set schedule. It uses shadows.py to find candidate articles, then shadows.awk edits the article, logs etc. It verifies the File is indeed shadowed before adding the tag.

Bot diff history

UPDATE I am shutting the bot down.
 * 1) The last time it tagged an article was September 9 2022 at File:Half_Shot_at_Sunrise_(1930),_Bob_Woolsey_and_Leni_Stengel.jpg .. the SQL query has returned 0 candidates ever since. Either the query is broken, the SQL server is not honoring the query due to changes there, or another process is fixing the problem. I have no idea which.
 * 2) Toolforge is eliminating the Grid Engine and since my bot is written in code that is hard to migrate to the new system, and because my code has to be on Toolforge for the SQL query, it don't have time to try and salvage it. --  Green  C  02:39, 3 December 2023 (UTC)

FAQ

 * Where was the bot discussed?
 * BRFA
 * Bot Request
 * Template talk:ShadowsCommons


 * What if the bot made a mistake?
 * Report errors to User_talk:GreenC bot


 * How do I keep it off a page?
 * Add somewhere in the page ie.


 * Source code
 * GitHub


 * Where does it run?
 * On Toolforge in /data/project/botwikiawk/shadow see also /data/project/botwikiawk/crontab