Setup
- MediaWiki 1.29.1 (ef41aab) 00:01, 3 November 2017
- PHP 5.6.30-0+deb8u1 (apache2handler)
- DisplayTitle 1.5.1 (9ca95b6) 03:23, 3 November 2017
Issue
I think this extension should honor the alternative link label if provided, e.g. show "displayTitle" in case it was explicitly defined with [[DisplayTitle|displayTitle]] instead of "Changed display title example" which was added to the "DisplayTitle" page with {{DISLPLAYTITLE:Changed display title example}}.
Live example:
- page linked to : DisplayTitle
- page linked from : DisplayTitleLink
Side note: What wonders me is that [[DisplayTitle|displaytitle]] renders as "displaytitle" whereas [[DisplayTitle|displayTitle]] renders as "Changed display title example". Hmm ...