User:GreenC bot/Job 10

From Wikipedia, the free encyclopedia
Shadows
This user is a bot
(talk · contribs)
StatusInactive
OperatorUser:GreenC bot
AuthorUser:GreenC
Approved?GreenC bot 10
Flagged?Yes
Edit ratePeriodic
Edit period(s)Weekly
Automatic or manual?Automatic
Programming language(s)GNU Awk
Exclusion compliant?Yes
Source code published?Yes
Emergency shutoff-compliant?Yes

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

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

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. -- GreenC 02:39, 3 December 2023 (UTC)


FAQ[edit]

  • 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 {{bots}} somewhere in the page ie. {{bots|deny=shadowbot}}
  • Source code
GitHub
  • Where does it run?
On Toolforge in /data/project/botwikiawk/shadow see also /data/project/botwikiawk/crontab