From 8eb903e6ae8b22d93e059393338b857b77574bc7 Mon Sep 17 00:00:00 2001 From: Daniel Kraus Date: Thu, 30 Jan 2025 18:06:28 +0100 Subject: [PATCH] Revert LinkTitlesFirstOnly to true and update README. --- README.md | 2 +- extension.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cf58a7e..c0de980 100644 --- a/README.md +++ b/README.md @@ -407,7 +407,7 @@ parse-on-render! This is because the templates have already been transcluded ### Multiple links to the same page - $wgLinkTitlesFirstOnly = false; + $wgLinkTitlesFirstOnly = true; If set to true, only link the first occurrence of a title on a given page. If a link is piped, i.e. hiding the title of the target page: diff --git a/extension.json b/extension.json index 27191d1..4e3726d 100644 --- a/extension.json +++ b/extension.json @@ -30,7 +30,7 @@ "LinkTitlesEnableNoTargetMagicWord": false, "LinkTitlesMinimumTitleLength": 4, "LinkTitlesBlackList": [], - "LinkTitlesFirstOnly": false, + "LinkTitlesFirstOnly": true, "LinkTitlesSmartMode": true, "LinkTitlesWordStartOnly": true, "LinkTitlesWordEndOnly": true,