Skip to content

fix: parse wiki shorthand targets#65

Merged
zhangyangyu merged 1 commit into
mainfrom
codex/wiki-double-bracket-link-targets
May 30, 2026
Merged

fix: parse wiki shorthand targets#65
zhangyangyu merged 1 commit into
mainfrom
codex/wiki-double-bracket-link-targets

Conversation

@zhangyangyu
Copy link
Copy Markdown
Collaborator

Description

Aligns backend wiki shorthand handling so double-bracket links treat the left side as the page target and preserve the label separately. This updates catalog extraction, backlink matching, and move rewriting for the target-before-label form while keeping single-argument shorthand behavior intact. Ordinary Markdown links keep their existing behavior.

Tracking

N/A

Tests

  • make check
  • go test ./internal/wikicatalog ./internal/service ./internal/rest

SSOT Drift Prevention Checklist

  • Checked that this PR does not violate boundaries in docs/architecture.md or docs/module-contracts.md
  • Package structure and dependencies are unchanged; no SSOT doc update needed
  • Test conventions and coverage expectations are unchanged; no docs/test-strategy.md update needed
  • CI, smoke, regression, and packaging workflows are unchanged; no docs/ci.md update needed

@zhangyangyu zhangyangyu merged commit c25d10a into main May 30, 2026
12 checks passed
@zhangyangyu zhangyangyu deleted the codex/wiki-double-bracket-link-targets branch May 30, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant