Page MenuHomePhabricator

DisplayTitle not used when rendering a link through a nested template
Closed, ResolvedPublic

Description

Hi there,

I may have found a bug in the DisplayTitle extension. When creating a link to a page in a template that is nested inside another template, it does not utilize the page display title. This behaviour was found in MW 1.31/DP 2.0 & DP 1.5.3 (full stack below) and found not present in MW 1.27.4/DP 1.2 (full stack below).

I've set up a test page where the problem is shown:

https://i.wikibase.nl/index.php/Wikibase_Solutions_problem_demo

Screenshot where I highlighted the link that's incorrectly shown:

Screen Shot 2019-04-01 at 11.25.42 AM.png (1×1 px, 224 KB)

Stack - not working

Installed software

ProductVersion
MediaWiki1.31.1 (c520c19) 05:30, 26 March 2019
PHP7.0.32-0ubuntu0.16.04.1 (apache2handler)
MySQL5.7.25-0ubuntu0.16.04.2

Installed extensions

ExtensionVersion
DisplayTitle2.0.0 (0705659) 14:51, 6 February 2019

Stack - working

Installed software

ProductVersion
MediaWiki1.27.4
PHP7.0.32-0ubuntu0.16.04.1 (apache2handler)
MySQL5.7.25-0ubuntu0.16.04.2

Installed extensions

ExtensionVersion
DisplayTitle1.2 (e3db03d) 19 apr 2017 20:55

Event Timeline

WSViktorS updated the task description. (Show Details)
cicalese triaged this task as Medium priority.Apr 12 2020, 10:25 PM
cicalese moved this task from Backlog to Issue on the User-Cicalese board.
cicalese subscribed.
cicalese claimed this task.
cicalese moved this task from Issue to Closed on the User-Cicalese board.

This appears to have been fixed. Tested in DisplayTitle 3.2 and later. Please feel free to reopen if it occurs again.