Artifacts Associated With Ticket 7a649ff845e2169bb12f0f168744a71d1ae79137
Ticket change [c71fb1c17d] (rid 741) by dmestas on 2026-08-18 02:52:18:
- comment initialized to:
Fossil deletes a wiki page by writing a wiki artifact with an EMPTY body. quarry folds that as an ordinary edit, so the page stays in the wiki list forever, showing blank content. ## Observed libfossil, comparing quarry's list against `fossil wiki list -R libfossil.fossil`: fossil: 12 pages quarry: 16 pages The four extra are pages fossil considers deleted, and each one's newest edit has a zero-length body: scratchpad 14 edits last body 0 bytes test-page 3 edits last body 0 bytes th1ish 9 edits last body 0 bytes branch/rebuild-2025 ## Expected A page whose newest edit has an empty body is deleted and should not appear in the wiki list. Its HISTORY must remain readable — the edits are real artifacts and a deleted page is still part of the record — so this is a listing rule, not a fold that discards rows. The likely shape: `WikiPages()` filters to titles whose newest edit has a non-empty body, and the page itself renders a "this page was deleted" state with its history intact, the way a deleted ticket or a shunned artifact would. ## Why it was not noticed The parity harness counts wiki pages from fossil's `tag` table (`tagname LIKE 'wiki-%'`), which lists every page that has ever existed — the same over-count quarry produces — so the two agreed for the wrong reason. Only `fossil wiki list`, which asks for LIVE pages, shows the difference. Worth fixing in the parity check at the same time: a comparison that agrees because both sides are wrong the same way is worse than no comparison, because it is evidence of correctness that is not. ## Scope Small and self-contained. The same question applies to technotes, which fossil also deletes by emptying; worth checking while in there. - status initialized to: "Open"
- title initialized to: "Deleted wiki pages still appear in the wiki list"
- comment initialized to:
Ticket change [f7732de04f] (rid 853) by dmestas on 2026-08-18 18:40:02:
- Untracked field cmimetype: "text/x-markdown"
Ticket change [6ddcb82a5e] (rid 1081) by dmestas on 2026-08-19 11:04:37:
- priority changed to: "High"
- severity changed to: "Important"
- type changed to: "Code_Defect"
Ticket change [cd3f9b1be0] (rid 1131) by dmestas on 2026-08-19 12:10:53:
- subsystem changed to: "index"
Ticket change [42a92b23cf] (rid 1193) by dmestas on 2026-08-19 13:32:45:
- icomment:
Fixed for the deletion rule; one of the four named pages turned out to be a different rule entirely. **The fix:** a page whose NEWEST edit has an empty body — fossil's deletion — leaves the wiki list and the nav count (which now share one rule, so the count cannot include what the list hides). Deleted then re-created is live again: the newest edit decides. The page itself renders a tombstone — "This page was deleted <when> by <who>" — with history one click away and every revision still readable, including the empty one. Verified live on libfossil: scratchpad, test-page and th1ish are gone from the list, th1ish shows the tombstone, its history serves. **The fourth page was not deleted.** branch/rebuild-2025's newest edit carries 528 bytes of live content; fossil hides it because pages named branch/*, tag/* and checkin/* are ASSOCIATED pages — notes attached to those objects — which `fossil wiki list` excludes from the regular list. quarry keeps it listed deliberately: we render branch notes nowhere else yet, and hiding live content with no other door is worse than a one-page count delta against fossil (13 vs 12). When branch pages learn to show their notes, the list can adopt fossil's exclusion in the same change. **The parity check** stays a census on purpose (every page ever, deleted included — it measures ingest completeness, not the listing rule) and now says so in place, so the two cannot be conflated again.
- mimetype: "text/x-markdown"
- resolution changed to: "Fixed"
- status changed to: "Fixed"
- icomment:
Ticket change [5cc04c3b2d] (rid 12451) by zeitgeist on 2026-09-24 00:52:46:
- Untracked field number: "16"