feat(db): add wiki-link extraction, resolution, and backlinks #44
Reference in New Issue
Block a user
Delete Branch "feat/entry-linking"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
internal/linkpackage withExtractLinks()— regex-based[[link text]]parser, pure function, no DB access. Links stay in body text (not extracted like tags).to_idfor future re-resolution.entity_links(from_id, to_id, link_text)junction table. CASCADE on source delete, SET NULL on target delete.syncLinks()wired into Create, Update, and Absorb transactions.Test plan
nginx proxy trick #opssee [[nginx proxy trick]] for config[[nonexistent]]→ verify no errors (unresolved link stored)go test ./...)