A wiki link to a file that is not a page (an .svg, .txt, .pdf) is rewritten to the page route, /wiki/<path>, and 404s. Images (src) go to /wiki/_raw/; plain links do not. Seen on the Architecture overview's diagram column (worked around in !476).
- In
rewriteWikiLinks, send anhrefwhose target is an existing non-page file to/wiki/_raw/<path>. - Test in
internal/httpd/wiki_test.go.
referenced in commit fc5b1b67a2 by cmc: wiki: Architecture overview names diagrams; titles drop their numbers; gaps filed
2026-09-28 04:36 UTC