Content deleted Content added
→Design: Reply |
m Maintain {{WPBS}}: 1 WikiProject template. Create {{WPBS}}. Tag: |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1:
{{WikiProject banner shell|
{{WikiProject YouTube}}
}}
== Design ==
{{hatnote|Continued from [[wikidata:User talk:BorkedBot#Reference for Twitter followers]], itself continued from [[wikidata:Wikidata:Project chat/Archive/2022/03#social media followers (P8687) was a terrible idea]].}}
Line 32:
:::::::Despite all these snags, I don't want to give up after we've come this far. My impulse is to plunge ahead with the current implementation. This would also allow us to use the tracking category to see how many articles <em>would</em> have errors if we hadn't checked for those, to get a sense of the scale of that problem. If there are complaints, we'll roll back the implementation. Slightly longer-term, we can work toward improving the updating algorithm and fetching the total view count. Once those things are in place and we've minimized the errors, we'll be able to deprecate all the existing parameters around stats updating, which would make the infobox's code a lot simpler.
:::::::How does that sound? Sorry for the super long reply haha. And please lmk if any of the above is confusing. Cheers, <span style="color:#AAA"><small>{{u|</small><span style="border-radius:9em;padding:0 5px;background:#088">[[User:Sdkb|<span style="color:#FFF">'''Sdkb'''</span>]]</span><small>}}</small></span> <sup>[[User talk:Sdkb|'''talk''']]</sup> 19:33, 18 March 2023 (UTC)
::::::::I think actually that **is** what you proposed (it says "update other items once per year"). My reading of the RfC is that we are allowed to update once a year for each account. I just don't have the bot setup to do that. I can do a big run this weekend to update all the old channels. [[User:BrokenSegue|''B''roken]][[User talk:BrokenSegue|''S''egue]] 06:08, 20 March 2023 (UTC)
:::::::::Okay, excellent! <span style="color:#AAA"><small>{{u|</small><span style="border-radius:9em;padding:0 5px;background:#088">[[User:Sdkb|<span style="color:#FFF">'''Sdkb'''</span>]]</span><small>}}</small></span> <sup>[[User talk:Sdkb|'''talk''']]</sup> 13:52, 20 March 2023 (UTC)
::::::::::Ok it's running now to backfill all the missing data. I'll schedule this to happen on a regular basis. Tell me if any are missing once it's done (see [[:wikidata:Special:Contributions/BorkedBot]]). [[User:BrokenSegue|''B''roken]][[User talk:BrokenSegue|''S''egue]] 01:47, 22 March 2023 (UTC)
:::::::::::@[[User:BrokenSegue|BrokenSegue]], the module [[Special:Diff/1146164719|is live]]; hurrah! I'm curious to see what will pop up in [[:Category:Pages with YouTubeSubscribers module errors]]. <span style="color:#AAA"><small>{{u|</small><span style="border-radius:9em;padding:0 5px;background:#088">[[User:Sdkb|<span style="color:#FFF">'''Sdkb'''</span>]]</span><small>}}</small></span> <sup>[[User talk:Sdkb|'''talk''']]</sup> 04:25, 23 March 2023 (UTC)
::::::::::::so most of the errors are caused by items that are lacking channel IDs on Wikidata. I did see a few where the issue was instead that there were multiple youtube channels and none marked as preferred. I might see if I can find time to go and fix these. [[User:BrokenSegue|''B''roken]][[User talk:BrokenSegue|''S''egue]] 17:18, 23 March 2023 (UTC)
==Generating undefined references==
I find myself here because the [[Linus Sebastian]] article generates an undefined reference named "YouTubeStatsLinus Sebastian", and none of the subscriber count claims in the article are referenced. Looks like {{tl|Infobox YouTube personality}} invokes this module with the parameter "subCountNice". I don't see how this template decides where to get its information from, though.
The Infobox template documentation makes no indication that a reference will be generated, or how it will be generated. If I invoke the module directly, it seems to return "-404" and that prevents the template from producing the reference definition. The module documentation says that this can be fixed if someone would {{tq|Add a YouTube channel ID or set the rank of one channel ID to be preferred}}. But it doesn't say how to add it -- the channel ID is not a parameter to the module. And it doesn't even explain how to discover the channel ID in the first place.
How can the undefined reference in [[Linus Sebastian]] be fixed? -- [[User:Mikeblas|Mikeblas]] ([[User talk:Mikeblas|talk]]) 16:55, 9 June 2024 (UTC)
|