Page MenuHomePhabricator

MediaWiki Table of Content (TOC) shows Wiki title and not the Display Title
Open, MediumPublic

Description

If you use page names as a link in a Header (H2 etc) on a wiki page, the TOC shows the Wiki Title and not the Display Title.

Event Timeline

Thank you for reporting this. Please feel free to submit a patch to fix this if you get a chance to look at it sooner than I do.

cicalese triaged this task as Medium priority.Jul 15 2023, 3:49 AM

Change 938448 had a related patch set uploaded (by Cicalese; author: Cicalese):

[mediawiki/extensions/DisplayTitle@master] Add usage of MakeLinkHolderHook

https://gerrit.wikimedia.org/r/938448

Change 938448 abandoned by Cicalese:

[mediawiki/extensions/DisplayTitle@master] DNM: Add usage of MakeLinkHolderHook

Reason:

depends on an abandoned core patch - need a better approach if this is to be implemented

https://gerrit.wikimedia.org/r/938448

we are still encountering this problem in MW 1.39 is there any updates on this problem?

@YvarRavy: All updates can be found in this ticket. Thus: No, no updates.