Wikipedia:Bots/Requests for approval/FACBot 5


 * The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was

FACBot 5
Operator:

Time filed: 01:15, Wednesday, December 12, 2018 (UTC)

Function overview: Generate a page containing a table of recent TFAs

Automatic, Supervised, or Manual: Automatic and manual. When run in manual node, it generates the month requested on the call line. When run in Bot mode, it generates a report for the previous month.

Programming language(s): Perl

Source code available: User:FACBot/tfa stats.pl

Links to relevant discussions (where appropriate): Bot requests

Edit period(s): Monthly.

Estimated number of pages affected: 1 per month

Namespace(s): Wikipedia

Exclusion compliant (Yes/No):

Function details: Bot runs a few days after the first of the month to allow the page view stats to be collected. Results of a test run can be found at Today's featured article/recent TFAs/August 2018
 * 1) Goes through the previous month's TFAs (in Wikipedia:Today's featured article/$date) and extracts the articles involved
 * 2) Looks them up in Featured articles to determine their FAC category
 * 3) Goes to their talk pages, and extracts the promotion date from the ArticleHistory template
 * 4) Obtains the page views from the //wikimedia.org/api/rest_v1/metrics/pageviews/per-article JSON API
 * 5) Generates a wiki table and writes it to Wikipedia:Today's featured article/recent TFAs/$month

Discussion

 * can you add wikilinks around the article names? — xaosflux  Talk 03:11, 12 December 2018 (UTC)
 * ✅   Hawkeye7   (discuss)  03:32, 12 December 2018 (UTC)
 * - speedily approving as this is very low, non reader impacting, requested task. Am confident that the operator will make any minor adjustments or corrections that could arise. — xaosflux  Talk 15:38, 12 December 2018 (UTC)


 * The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.