Skip to content

Preserve typed link text in pipe-less wikilinks#48

Merged
JeroenDeDauw merged 1 commit into
masterfrom
fix/pipeless-wikilink-typed-text
Jul 17, 2026
Merged

Preserve typed link text in pipe-less wikilinks#48
JeroenDeDauw merged 1 commit into
masterfrom
fix/pipeless-wikilink-typed-text

Conversation

@JeroenDeDauw

@JeroenDeDauw JeroenDeDauw commented Jul 17, 2026

Copy link
Copy Markdown
Member

Fixes #47

Pipe-less [[...]] links now display the target text as typed (like wikitext and Obsidian) instead of the normalized title; the resolved title still drives the href and link registration. Linktrail ([[page]]s) is deliberately not implemented: it is a language-dependent wikitext-ism absent from markdown ecosystems, and [[page|pages]] covers the need.

AI-authored — Claude Code, Opus 4.8 (max); detailed brief from @JeroenDeDauw's Fable orchestration session (typed-text and declined-linktrail decisions architected there), implemented here without revision; diff not yet human-reviewed; TDD with each test seen failing first, 284 standalone unit + 430 MediaWiki-integration tests green locally, phpcs/phpstan/psalm clean, markdown↔wikitext parity confirmed via action=parse; CI green.

Fixes #47

Pipe-less `[[...]]` links now display the target text as typed (like wikitext and
Obsidian) instead of the normalized title; the resolved title still drives the href
and link registration. Linktrail (`[[page]]s`) is deliberately not implemented: it
is a language-dependent wikitext-ism absent from markdown ecosystems, and
`[[page|pages]]` covers the need.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.41%. Comparing base (a1b8d20) to head (d3865c0).

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #48      +/-   ##
============================================
+ Coverage     83.34%   83.41%   +0.06%     
+ Complexity      417      416       -1     
============================================
  Files            40       40              
  Lines          1069     1067       -2     
============================================
- Hits            891      890       -1     
+ Misses          178      177       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JeroenDeDauw
JeroenDeDauw marked this pull request as ready for review July 17, 2026 16:09
@JeroenDeDauw
JeroenDeDauw merged commit bd5743f into master Jul 17, 2026
12 checks passed
@JeroenDeDauw
JeroenDeDauw deleted the fix/pipeless-wikilink-typed-text branch July 17, 2026 16:09
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.

Links have incorrect link text

2 participants