Skip to content

Render missing relation targets as red links with a create affordance #1120

Description

@JeroenDeDauw

Problem

A missing relation target is now legitimate, wiki-native state, not an error:

But the display layer still treats a missing target as an error.
resources/ext.neowiki/src/components/Value/RelationDisplay.vue renders an unresolved target as a <span class="error">
with a "Subject not found" title.

Wanted

MediaWiki red-link semantics for relation targets:

  • Render an unresolved target as a visibly not-yet-created link (red link), not an error.
  • Clicking it starts a creation flow with the relation property's target schema pre-selected.

References


AI-authored — Claude Code, Opus 4.8 (max); detailed spec from @JeroenDeDauw via an orchestrating agent; not yet human-reviewed; code/doc citations and cross-referenced issues/PRs verified against origin/master and the GitHub API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    UXImprovement to User ExperiencefeatureNew user-facing capabilitiesrelationRelations between Subjects: editing, display, targets/properties, and data model

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions