Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Wikipedia:Bots/Requests for approval/FlammableBot 3

From Wikipedia, the free encyclopedia

New to bots on Wikipedia? Read these primers!

Operator: FlammablePizza (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)

Time filed: 00:02, Thursday, August 6, 2026 (UTC)

Function overview: Takes all articles in Category:United States National Film Registry films and attempts to diffuse them into sub-categories such as Category:United States National Film Registry films inducted in 1989 based on induction year.

Automatic, Supervised, or Manual: Automatic

Programming language(s): Python (PyWikiBot)

Source code available: https://gitlab.com/flammablepizza/FlammableBot/-/blob/main/task3.py

Links to relevant discussions (where appropriate): Wikipedia:Bot requests#Sorting Films, WP:DIFFUSE

Edit period(s): One time run

Estimated number of pages affected: 707

Namespace(s): Mainspace/Articles

Exclusion compliant (Yes/No): Yes (through default PyWikiBot settings)

Function details: This bot uses a csv file found here, which is based off this table from loc.gov. The bot checks the title of each page in Category:United States National Film Registry films and attempts to check it against the csv file. If found, it replaces instances of Category:United States National Film Registry films in the article with Category:United States National Film Registry films inducted in XXXX, where XXXX is the induction year listed in the csv file. The bot only saves its changes there is a diff of exactly 17 bytes added. If any step fails, it saves the article title to a file to be manually checked later (which is a small number of articles).

I used the latest version of the script to generate a full list of diffs visible here (only difference between this and a regular run is skipping saving the changes). Scrolling through them, I do not see any out-of-place changes. I am also aware that most of the needed sub-categories do not exist yet; I will create them before the bot runs.

Discussion

[edit source]

This BRFA and bot were created on behalf of the request at Wikipedia:Bot requests#Sorting Films. As the category originally contained over 900 articles before subcategorization (150 articles have already been subcategorized), this seemed to be a suitable bot request and candidate for diffusion. FlammablePizza (talk) 00:02, 6 August 2026 (UTC)reply