Jump to content

Module talk:YouTubeSubscribers

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by BrokenSegue (talk | contribs) at 01:08, 18 February 2023 (rm testcases). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconYouTube Template‑class
WikiProject iconThis module is within the scope of WikiProject YouTube, a collaborative effort to improve the coverage of YouTube and related topics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis module does not require a rating on Wikipedia's content assessment scale.
WikiProject YouTube To-do:

Here are some tasks awaiting attention:

Design

@Sdkb: Moving the discussion here. So a few open questions in the design of this thing:

  • Do we want to generate a reference in the module? If so to what. BorkedBot currently is not setting references. Maybe that should change.
  • Do we want to generate the point in time of the data within the module? If so in what format and should it be a separate call to the module or should it return e.g. "1 million as of Jan 5, 2020"
  • Do we want to format the number in some way. Looking at Wikipedia articles it seems they are formatted in the style of "1 million" or "250 thousand". Should I copy that formatting (or are there already templates to do that and so the logic doesn't need to be in the module).
  • How should we handle exceptional situations? E.g. sub counts with more than one point in time attached, more than one youtube account associated with the item, negative sub counts, etc. Currently it just returns "?" on failure.

Looking forward to getting this in production. BrokenSegue 16:07, 17 February 2023 (UTC)[reply]