Wikidata:Requests for permissions/Bot/BorkedBot 11
The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
Approved--Ymblanter (talk) 19:37, 28 February 2024 (UTC)[reply]
BorkedBot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: BrokenSegue (talk • contribs • logs)
Task/s:
- Start updating social media followers (P8687) with the qualifier Twitch channel ID (P5797). It would look like this though I'm unsure if we should list both numeric and non-numeric identifiers. Updates will occur following the same frequency as established in Wikidata:Requests_for_comment/Frequency_of_YouTube_follower_count_data though actually I will note that to now the update policy I've been following has been more conservative than this because only items linked to enwiki are being updated at the higher frequency.
Code: Will be near identical to the yt subscription code linked from User:BorkedBot
Function details:
- fetch follower information from the twitch api
- check if an update is needed 1-2x per week
- add a new social media followers (P8687) statement qualified with identifiers and time
- update the rank of the statements so that the newest value is preferred
@ Mokadoshi: who suggested they could help with this.
--BrokenSegue (talk) 17:22, 20 February 2024 (UTC)[reply]
- I am going to approve the bot in a couple of days provided no objections have been raised. Ymblanter (talk) 19:44, 26 February 2024 (UTC)[reply]
- It would be helpful to list both numeric and non-numeric identifiers. The non-numeric identifier can change (it's just a display name for the channel), but the numeric ID is stable, so it is useful to record that so we can better track name changes. Some API requests also require you to use the numeric ID, so after we've filled this in on Wikidata, it'll be nice to source this identifier from Wikidata so we don't need to call the API again. Mokadoshi (talk) 20:40, 27 February 2024 (UTC)[reply]
- ok yeah maybe we should also add a job that fetches the twitch numeric id for everyone with a non-numeric twitch id. BrokenSegue (talk) 22:42, 27 February 2024 (UTC)[reply]