Jump to content
Wikimedia Commons

Commons:Bots/Requests/BMacZeroBot 8

From Wikimedia Commons, the free media repository

Operator: BMacZero (talk  · contributions  · Statistics  · Recent activity  · block log  · User rights log  · uploads  · Global account information) (assign permissions)

Bot's tasks for which permission is being sought: As briefly discussed at VPC, this task is trying to take a chunk out of the maintenance category Category:PD-Art (PD-old default), which contains files using {{PD-Art}} without specifying a license for the underlying work.

The algorithm is:

  1. Try to read the publication date from the Artwork/Information template.
  2. Try to look up the author's death year (e.g. from a Creator template if present in the Artist field).
  3. If both pieces of information can be unambiguously determined and parsed, the publication date is before the US expired year (1929), and the death year is greater than 120 years ago, replaced {{PD-Art}} with {{PD-Art|PD-old-auto-expired|deathyear=XXXX}}. These restrictions are to guarantee that the work is, in fact public domain without needing to determine the publication country, which would be much more difficult.

The operator can also manually assign death years to author strings, in case there is no Creator, and help the bot parse publication dates.

Automatic or manually assisted: Automatic

Edit type (e.g. Continuous, daily, one time run): One-time run

Maximum edit rate (e.g. edits per minute): 6

Bot flag requested: (Y/N): N; already has

Programming language(s): C#

BMacZero (🗩) 06:05, 10 January 2025 (UTC) [reply ]

Discussion
Special:Contributions/BMacZeroBot has a 20-item test run. – BMacZero (🗩) 06:05, 10 January 2025 (UTC) [reply ]
Will be good idea to also use Creator template in cases like File:1-lunetta-detail amore psiche 10.jpg. EugeneZelenko (talk) 14:58, 10 January 2025 (UTC) [reply ]
You mean add the template if missing? Yeah, I can probably do that. I'll do that and do a short test. – BMacZero (🗩) 17:58, 10 January 2025 (UTC) [reply ]
@EugeneZelenko: I reworked the code for Commons:Bots/Requests/BMacZeroBot 4 to add creators and ran a 5-item test with that enabled. – BMacZero (🗩) 08:08, 11 January 2025 (UTC) [reply ]
Thank you for quick improvement! Looks OK for me. EugeneZelenko (talk) 15:11, 11 January 2025 (UTC) [reply ]

Looks good to me. --Krd 18:59, 15 January 2025 (UTC) [reply ]


If there are no objections, I think task should be approved. --EugeneZelenko (talk) 16:08, 17 January 2025 (UTC) [reply ]

Approved. --Krd 12:50, 18 January 2025 (UTC) [reply ]

AltStyle によって変換されたページ (->オリジナル) /