Repository navigation
Page mentions: a page named in a line, with its icon and title as they are now - #215
Merged
Merged
Conversation
…y are now
Typed with @ or [[ (a page search), [[Exact title]], or chosen in the link editor ("Show as a
mention": ticked unless there are words to link). A mention holds only the page's id: its title
is looked up for whoever reads it, so renames show and someone else's private page reads as a
private page. As Markdown, [@title](/doc/<id>), read back as a mention (MCP edits keep them).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The second half of inline links to pages, after the link editor (214).
Making one
[[Exact title]]typed out becomes a mention, if exactly one page has that title.What it is
pageMentionnode holding only{ pageId }, in both schemas, the editor's and the server's live documents.PageMentionView.vue), so a rename shows live.requirePageAccess, the same rules as opening the page.Markdown and exports
[@Title](/doc/<id>), with the title as it is now for the reader. The server reads that back as a mention, so MCP and Markdown edits keep mentions. A bold mention, or two side by side, stays a mention.wikid-page:). The HTML export shows the page's icon and title if the page is in the export, and "a page not in this export" otherwise.Not covered yet
Tests
e2e/page-mentions.spec.ts, 7 tests):[[Exact title]];🤖 Generated with Claude Code