#3904·graphify

[Bug]: Wikilinks to note names that contain a dot ([[note.en]], [[v1.2 release]]) produce no references edge

Author: YyunozorCreated Sep 28, 2026Updated Sep 28, 2026

What happened?

A wikilink whose target note name contains a dot is dropped: [[note.en]], [[v1.2 release]], [[2026.09.27]], [[Mr. Smith]] and [[sub/deep.fr|alias]] produce no references edge, although note.en.md (etc.) exists and is a node in the graph.

Expected: the same edge an extension-less wikilink gets ([[plain]] -> plain.md). Dotted note names occur naturally: language suffixes, versions, dates, initials.

Cause: _resolve_markdown_link in graphify/extractors/markdown.py appends .md only when Path(target).suffix == "". For note.en the suffix is .en, which is not in _MD_LINKABLE_EXTS, so the function returns None before the sibling or vault-wide lookup runs. Its docstring says extension-less wikilink targets are treated as sibling .md; a dotted note name never reaches that branch. An inline link with the full file name, [x](./inline.en.md) in the reproduction below, resolves fine.

Steps to reproduce

bash
mkdir -p vault/notes/sub vault/other && cd vault
printf '# Hub\n\nSee [[note.en]], [[v1.2 release]], [[2026.09.27]], [[Mr. Smith]], [[plain]], [[sub/deep.fr|deep]].\nInline: [x](./inline.en.md)\n' > notes/hub.md
echo '# Note' > notes/note.en.md
echo '# Inline' > notes/inline.en.md
echo '# Deep' > notes/sub/deep.fr.md
echo '# Mr' > "notes/Mr. Smith.md"
echo '# Daily' > other/2026.09.27.md
echo '# Plain' > other/plain.md
echo '# Release' > "other/v1.2 release.md"
graphify update .
# then list the references edges of notes/hub.md in graphify-out/graph.json

Error output or graph output

notes/hub.md -> notes/inline.en.md
notes/hub.md -> other/plain.md
2 references edges; expected 7 (the five dotted wikilinks are missing)

Graphify version

0.9.71 (v8 @ d6eaa8a); also on 0.9.70 (v8 @ 4c21b15)

Operating System

macOS

Python Version

3.12

Installation Method

built from source (git clone)

Additional Environment Details

AST-only path (graphify update), no API key involved. Reproduced on a clean checkout of v8.

Additional context

On a real 3,300-note Obsidian vault, 1,523 of 12,329 wikilinks (12.4%) have a dotted target of this kind (mostly language-suffixed notes such as name.en), and the <name>.md note exists in every case. On Python 3.14, where Path("Mr.").suffix == ".", a trailing-dot link such as [[Mr.]] is lost the same way (it resolves on 3.12).

I have a small fix (for wikilinks only, retry <name>.md when that note exists, without overriding an indexable literal file beside the link, such as pic.png beside pic.png.md) and can open a PR.