Files
civitai__civitai/scripts
Justin Maier 8085d81651 chore(articles): remove the official-articles backfill script
It was a one-off and it has run. Justin's call: not worth keeping in the repo,
and not worth a PR to remove.

What it did, recorded here because the code is going and the fact should not go
with it. Prod, 2026-09-04:

  --user-ids 12042163,1,3,43555,5418
  --exclude-ids 6222,6339,6454,6338,5344,28893 --apply

214 articles marked — Maxfield 65, JustMaier 58, CivitaiOfficial 51, Faeia 38,
theally 2. Read back afterwards rather than trusting the update count: 214 total,
0 marked outside those five accounts, all six excluded ids confirmed still false.

Excluded five abandoned drafts titled "test"/"rtert", and 28893 "Farewell,
Civitans!" — a departing staff member's goodbye rather than Civitai speaking.
CivBot's 438 automated posts were deliberately left out.

Anything marked from here on is marked by a moderator: the ⋯ menu on an article,
the toggle in the editor, or `article.mjs --official`. To reverse the backfill,
take the file back out of history:

  git show <this commit>^:scripts/backfill-official-articles.mjs > backfill.mjs
  node backfill.mjs --user-ids 12042163,1,3,43555,5418 --unmark --apply

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XHZuQDTCG159qcPrCkP7SF
2026-09-04 15:37:50 -06:00
..
2026-06-04 15:58:33 -06:00