Skip to content

Transclude templates on Markdown pages by default#17

Merged
JeroenDeDauw merged 1 commit into
masterfrom
feature/transclusion-default-on
Jul 6, 2026
Merged

Transclude templates on Markdown pages by default#17
JeroenDeDauw merged 1 commit into
masterfrom
feature/transclusion-default-on

Conversation

@JeroenDeDauw

Copy link
Copy Markdown
Member

Follows-up to #16 (now merged).

Flip $wgNativeMarkdownTemplateTransclusion to true. $wgNativeMarkdownEverywhere
already defaults to true, so out of the box every prose page is Markdown; with
transclusion off, shared infoboxes, navboxes and citation templates render as
literal {{...}} across the wiki. Turning it on completes the wiki integration
with no cost to the AI story (action=raw still returns literal {{...}}) or to
safety (parser output is sanitized as on any wikitext page).

Kept as its own PR so enabling-by-default stays an independent decision — hold it
until the feature has had real-world testing if preferred.

Written by Claude Code, Opus 4.8 (max)

Follows-up to #16

Flip $wgNativeMarkdownTemplateTransclusion to true. $wgNativeMarkdownEverywhere
already defaults to true, so out of the box every prose page is Markdown; with
transclusion off, shared infoboxes, navboxes and citation templates render as
literal {{...}} across the wiki. Turning it on completes the wiki integration
with no cost to the AI story (action=raw still returns literal {{...}}) or to
safety (parser output is sanitized as on any wikitext page).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@JeroenDeDauw JeroenDeDauw marked this pull request as ready for review July 6, 2026 20:15
@JeroenDeDauw JeroenDeDauw merged commit e4fc377 into master Jul 6, 2026
12 checks passed
@JeroenDeDauw JeroenDeDauw deleted the feature/transclusion-default-on branch July 6, 2026 20:15
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.

1 participant