Watching fire weather makes me restless. QGIS is open on one monitor and WFIGS on the other, I've got an eye on the Red Flag warnings, and somewhere in the back of my mind I'm already doing the math on fuel moisture and wind direction. Most people don't live this way. GIS analysts who also run Wikipedia bots do.
Today I finished something I've wanted to build for a while: an automated pipeline that watches for wildfires in Tuolumne County and updates Wikipedia without me touching anything. It went from nothing to live in one day, so I'm writing it down.
The problem
Yesterday I created two Wikipedia pages, 2026 Tuolumne County wildfires and Wildfires in Tuolumne County, California. It's the county I work in and the terrain I map, and I keep an eye on its fires anyway. I thought those pages should exist, and now they do.
Update, October 2026: the second page, Wildfires in Tuolumne County, California, has since been deleted. Wikipedia's editors are still cautious about pages built with AI help, which is fair. The 2026 fires page is still up.
As soon as I published them I saw the problem. Keeping them current is manual labor. A fire breaks out at 3am, I wake up to a Twitter alert from my own bot (@SierraNevadaWX), and then I'm supposed to hand-edit a Wikipedia table half asleep? That's no way to run things. So, automate it.
The build
BdgrovesBot was already half-built. It was querying WFIGS (the National Interagency Fire Center's wildland fire geospatial API) and refreshing a GeoJSON layer for my QGIS fire-monitoring setup. The Wikipedia piece existed too, but it only updated acreages for fires already in the table. New fires still meant a manual row entry.
So today I rewrote the core logic to handle both cases:
<!-- bot-stub --> markers in the location and notes cells so I know exactly where to fill in by hand.The authentication rabbit hole
Getting Pywikibot to authenticate cleanly for automated runs took longer than it should have. My first test run asked me for a password. That's fine when I'm sitting at my own machine and useless on a GitHub Actions runner at 7am with nobody watching.
The fix was a Wikipedia bot password from Special:BotPasswords, stored as a GitHub Secret. At runtime the workflow writes a passwords.py file from that secret. The file never touches the repo and the password never shows up in the logs; the runner writes it, uses it, and it's gone.
When it finally worked, with Page [[2026 Tuolumne County wildfires]] saved in the GitHub Actions log and no password prompt, I was pretty pleased. That's the whole pipeline: WFIGS β Python β Pywikibot β Wikipedia, headless, on a cron job every morning.
The test insert
Before going live I had to check the write path end to end, and the only way to do that is to write to Wikipedia and see if it lands. So I added a --test-insert flag that creates a clearly labelled fake fire called "BdgrovesBot Test" and pushes it to the page.
It worked on the first try. The row showed up as designed: name, coordinates stub, acreage cell, start date, notes stub and reference stub. I deleted it by hand a few minutes later. The whole thing took about two minutes.
You can't get that from a dry run. A dry run tells you the code runs. A live insert tells you the login works, the table parser and row builder work, and the Wikipedia API took the edit. Those are separate questions.
Doing it by the book
Wikipedia bots are supposed to be approved before they run. The process is called a BRFA, a Bot Request for Approval. You file a page and wait in a queue until a member of the Bot Approvals Group reviews it. Then you run a supervised trial, and after that you get full approval.
I filed today: Wikipedia:Bots/Requests for approval/BdgrovesBot. The task is non-controversial: data maintenance on pages I created, sourced from a federal government API, with no prose editing and no changes across other articles. I attached the dry-run log and documented the live test insert, and the GitHub Actions logs show the headless login working.
Then I switched the workflow back to dry-run mode while the BRFA is pending. The bot still runs at 7am every morning, queries WFIGS and refreshes the QGIS GeoJSON. It won't write to Wikipedia until BAG signs off. When that happens, one line in the workflow file flips it live.
DRY_RUN=Trueby default; edits require an explicit--no-dry-run- Edit summaries always cite WFIGS as the data source
- Operated under Wikipedia bot policy Β· account
User:BdgrovesBot - BRFA filed and pending BAG review
The fire situation, while I built this
The whole time, I had an eye on the actual map. The Pocket Fire in the Coconino National Forest, Arizona had reached 1,467 acres at zero containment. It was a Type 1 incident, the highest level, with 969 personnel on scene and an estimated final cost pushing $20 million. A southeast wind event was forecast for the weekend, and the Tucson and Flagstaff NWS offices had Red Flag Warnings posted through Saturday night.
My QGIS project pulls both the national active-fires layer and the NWS watches-and-warnings layer live. While I worked I could see the Red Flag polygon sitting right over the Coconino National Forest. The Pocket Fire was flanking, with most of the activity along the sides of the perimeter. That's not the most aggressive behavior, but with a wind event coming and zero containment, it's the kind of thing you stay up watching.
Nothing active in California, and nothing in Tuolumne County. The TuCo monitoring setup was running and quiet. When you build tools like this, quiet is the update you want.
What comes next
BRFA review usually takes one to two weeks. If BAG approves a trial (probably 20 edits), I'll run it, post the results, and wait for full approval. After that the bot runs on its own, with no human between WFIGS and Wikipedia unless it flags something.
Longer term, I'd like more coverage: Nevada fires, California statewide, maybe a sister page for every county that needs one. The framework doesn't change. It's a WFIGS query, a table parser, a stub inserter and an acreage updater. The Wikipedia pages are the hard part. The code is easy.
For now it's one county, one bot and one BRFA in the queue. The fire map is quiet and the workflow is live.
Going to go watch the Pocket Fire radar loop for a while.
Source at github.com/bdgroves/bdgrovesbot. Built for Tuolumne County. If you can see the smoke from your porch, the bot already knows.
Go deeper
The inner workings of Wikipedia — The Changelog, 26 November 2025, about 1 hr 49 min. Longtime Wikipedian Bill Beutler on the rules, the “cabal” that isn’t one, and how an edit sticks.
Depths of Wikipedia explores digital archives — Here & Now (WBUR/NPR), 10 June 2024, about 6 min. Annie Rauwerda on the joy of getting lost in Wikipedia and editing it herself.
Eyes on Earth Episode 65 – Rapid Fire Mapping with Remote Sensing — Eyes on Earth (USGS EROS), 10 January 2022, about 19 min. PNNL and Forest Service scientists on mapping fire perimeters day by day from satellites.
Fire Mapping, Maritime Search And Wide Angle Imaging — The MapScaping Podcast, 30 November 2023, about 46 min. Alison Harrod of Overwatch Imaging on airborne fire mapping and getting crews to trust new data.
Geiger, R.S. (2011). The lives of bots. In G. Lovink & N. Tkacz (eds), Critical Point of View: A Wikipedia Reader, 78–91. Institute of Network Cultures. Free PDF from the author.
Halfaker, A. & Riedl, J. (2012). Bots and cyborgs: Wikipedia’s immune system. Computer 45(3), 79–82.
Geiger, R.S. & Halfaker, A. (2013). When the levee breaks: without bots, what happens to Wikipedia’s quality control processes? Proceedings of the 9th International Symposium on Open Collaboration (WikiSym ’13), 1–6.
Keegan, B., Gergle, D. & Contractor, N. (2013). Hot off the wiki: structures and dynamics of Wikipedia’s coverage of breaking news events. American Behavioral Scientist 57(5), 595–622.
Livingstone, R.M. (2016). Population automation: an interview with Wikipedia bot pioneer Ram-Man. First Monday 21(1). Open access.
Zheng, L., Albano, C.M., Vora, N.M., Mai, F. & Nickerson, J.V. (2019). The roles bots play in Wikipedia. Proceedings of the ACM on Human-Computer Interaction 3(CSCW), 1–20. Open access.
“I was surprised how upset some people got” — Bill Adair, Nieman Lab, 25 March 2026; a cautionary tale of a bot that skipped the approval step.
NIFC Open Data — home of the WFIGS layers the bot reads every morning. · WFIGS Current Wildland Fire Perimeters — refreshed every five minutes. · National Interagency Fire Center — the folks in Boise behind it all.
CAL FIRE Incidents — California’s own fire list, with CSV and JSON for developers.
Pywikibot documentation — the Python library doing the editing. · Wikipedia bots — Wikipedia on its own robot helpers, from ClueBot NG to bot edit wars.
bdgrovesbot — this project’s code. · sierra-alert-bot — the @SierraNevadaWX bot that sends the 3am fire alerts.
