Convert wikilinks to standard Markdown links vault-wide (#3)

* refactor(vault): convert wikilinks to standard Markdown links

Switches the vault's internal linking convention from Obsidian
wikilinks ([[Target]]) to standard Markdown links ([Text](path)),
so the vault renders correctly in Obsidian, plain Markdown readers,
and AI tools that don't understand wikilink syntax.

- Flipped Obsidian's core "Use [[Wikilinks]]" setting off
  (.obsidian/app.json: useMarkdownLinks + newLinkFormat: relative)
  so new links created in-app follow the same convention.
- Converted ~1690 wikilink/embed occurrences across 143 files via a
  vault-aware script: relative path resolution per source file,
  GitHub-compatible heading-anchor slugs (with correct duplicate
  suffixing) for same-file and cross-file heading links, alias-aware
  and case-insensitive target resolution, and disambiguation for the
  handful of basenames that exist in more than one place (e.g. Nil,
  Federacja Sol-3) in favor of their canonical page.
- Image embeds with a size modifier become <img width> tags; sized-less
  images become standard ![]() embeds; non-image embeds (video) become
  plain links, since transclusion has no Markdown equivalent.
- Updated the styleguide to document the new link convention.
- Fixed one pre-existing typo (swapped target/alias on a Tempus link).

Verified: 1648/1656 non-asset links resolve to real files after
conversion; the remaining 8 are either a documentation example or
already-known pre-existing red links (missing conflicts.md index,
a couple of not-yet-written character/org stubs) predating this change.

* fix(vault): add missing conflicts.md index, restore two dangling TOC entries

- Add conflicts.md as a top-level index (mirroring npcs.md/organizations.md/etc),
  the only top-level folder that lacked one.
- lore/05: restore the missing "Przywództwo i legendy" heading its TOC
  already pointed at (content existed, just wasn't header-ized).
- organizations/Federacja Sol-3.md: fix two TOC entries whose text had
  drifted from the real heading ("Wojsko Federacji" -> "Wojsko i Waluty
  Federacji", "a Podbój Kosmosu" -> "w Podbój Kosmosu" typo), and restore
  the missing "Ziemia (Sol-3-1725) jako Kluczowy Członek" heading.
- Ziemia (Sol-3-1725).md: drop an orphaned TOC sub-entry pointing at a
  bolded callout label ("Centrum Wsparcia Planetarnego") that was never
  a real heading, rather than inventing one that would break the callout.

* feat(vault): restructure Elf race page, add Brogir Vane and Siły Specjalne X

- races/Elf.md: consolidate the scattered Wysokie/Leśne differentiators
  (previously one sentence per theme in each general section) into two
  dedicated ## Elfy Wysokie / ## Elfy Leśne sections, so the existing
  cross-file links to these subraces resolve to something real instead
  of just falling back to the whole page.
- Add npcs/Bank Krasnoludzki/Brogir Vane.md - Dyrektor Generalny of the
  Dwarven Bank on Earth, distinct from Thingrim Magnarson's "Twarz Banku"
  public-facing role. Fixed the two links in races/Krasnolud.md that
  pointed at the wrong (races/) folder.
- Add organizations/Federacja Sol-3/Siły Specjalne X.md, built from the
  existing canonical book content in lore/10 (previously only ever
  quoted inline on Nicodemus Florens's and Karolina Fey's pages, never
  given its own page). Fixed the pre-existing red links across
  npcs.md/Nicodemus Florens.md/Karolina Fey.md to point at it, and
  added it to organizations.md.

Verified: 0 broken internal links vault-wide (excluding the two files
already out of scope: the styleguide's illustrative link example, and
the pre-existing lore/90 session-log import with its own Pandoc-style
anchor convention).

* feat(organizations): add X-COM-flavored mission doctrine to Siły Specjalne X

* fix(organizations): specify Siły Specjalne X squad composition (10-12, 3-4 human)

---------

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Octoturge
2026-08-17 17:26:28 +02:00
committed by GitHub
parent eea0f0ef35
commit c421a63107
148 changed files with 1536 additions and 1408 deletions
+18 -18
View File
@@ -7,27 +7,27 @@ tags: ["moc", "hub", "root", "index"]
Witaj w głównym kompendium wiedzy o Homebrew Magic RPG! Poniżej znajdują się najważniejsze węzły (Hubs) łączące wszystkie elementy świata i mechaniki.
## 📖 Podręczniki i Mechanika
- [[Zasady Gry]]
- [[classes|Klasy]]
- [[disciplines|Dziedziny Magii]]
- [Zasady Gry](rules/Zasady%20Gry.md)
- [Klasy](classes.md)
- [Dziedziny Magii](disciplines.md)
## 🌍 Świat i Lore
- [[locations|Lokacje]]
- [[Kraków]]
- [[Zürich]]
- [[Obsydianowe Obeliski]]
- [[organizations|Organizacje]]
- [[Sekty]]
- [[XCOM]]
- [[conflicts|Konflikty]]
- [[Panteon]]
- [[Siedem Grzechów]]
- [[concepts|Koncepty]]
- [[races|Rasy]]
- [Lokacje](locations.md)
- [Kraków](locations/Ziemia%20%28Sol-3-1725%29/Kraków.md)
- [Zürich](locations/Ziemia%20%28Sol-3-1725%29/Zürich.md)
- [Obsydianowe Obeliski](locations/Domena%20Szkarłatu/Obsydianowe%20Obeliski.md)
- [Organizacje](organizations.md)
- [Sekty](organizations/Sekty.md)
- [XCOM](organizations/Federacja%20Sol-3/XCOM.md)
- [Konflikty](conflicts.md)
- [Panteon](concepts/Bogowie/Panteon.md)
- [Siedem Grzechów](concepts/Siedem%20Grzechów/Siedem%20Grzechów.md)
- [Koncepty](concepts.md)
- [Rasy](races.md)
## 👤 Bohaterowie i NPC
- [[npcs|NPC]]
- [[player-characters|Postacie Graczy]]
- [NPC](npcs.md)
- [Postacie Graczy](player-characters.md)
## 🛡️ Ekwipunek
- [[Przedmioty]]
- [Przedmioty](items/Przedmioty.md)