Commons:Bots/Requests/GeertivpBot

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

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

Bot's tasks for which permission is being sought:

  • Add missing SDC depict statements on media files (File namespace)
  • Add missing Wikidata Infobox template to Category pages (Category namespace)

Automatic or manually assisted: Automatically, but monitored

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

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

Bot flag requested: (Y/N): Y

Programming language(s): Pywikibot, Python scripts are on GitHub:

Test runs are here.

Geert Van Pamel (talk) 22:29, 3 January 2024 (UTC)[reply]

Discussion

@Geertivp:  ? --Krd 05:23, 27 June 2024 (UTC)[reply]

The property has been approved and is implemented. I need some more time to adapt my scripts and to run a few example transactions before I can request the approval of my bot script. I will notify when I am done. --Geert Van Pamel 09:31, 27 June 2024 (UTC)[reply]
I have updated my bot script, and I have done one test run for one single Westende (Q1244401) Wikidata item, a city at the Belgian coast. This resulted in the following updates of Wikimedia Commons SDC Depict statements as documented by the bot request, using the property representation type (P12692) as a qualifier, based upon different "media" statements in Wikidata:
Please confirm that the updates have been done according as to the specifications, and please consider to grant User:GeertivpBot a bot flag for doing likewise updates for other media files that are properly registered in any Wikidata Item. This will better documenent media files, and will allow finding more media files using SDC search statements. You might investigate the procedure add_missing_sdc_depicts() in the bot script. Thanks for your collaboration. --Geert Van Pamel 10:00, 21 August 2024 (UTC)[reply]
Looks good to me. I'd suggest to put this live, and call it approved if no objection arises in the next few days. Krd 14:16, 25 August 2024 (UTC)[reply]
@Geertivp:  ? Krd 13:55, 27 August 2024 (UTC)[reply]
@Krd I am running the bot now since a few days. All is OK, I believe. Thanks to enable the bot flag. I am monitoring all updates, and do bugfixes when needed. --Geert Van Pamel 19:02, 27 August 2024 (UTC)[reply]
As you put the names of items into the summary, can you please use links so that one can click on that directly? Krd 07:38, 29 August 2024 (UTC)[reply]
@Krd I have adapted the script to your wishes: two examples:
OK for you? --Geert Van Pamel 10:37, 29 August 2024 (UTC)[reply]
Perfect, thank you. Krd 19:03, 29 August 2024 (UTC)[reply]

Approved. --Krd 01:52, 2 September 2024 (UTC)[reply]