Page MenuHomePhabricator

$wgAllowDisplayTitle not working when $wgCapitalLinks = false
Closed, InvalidPublic

Description

Author: sorin.sbarnea

Description:
I observed that it $wgAllowDisplayTitle has no effect while $wgAllowDisplayTitle=true.

Test:
$wgAllowDisplayTitle=true; to allow you to use DISPLAYTITLE
$wgRestrictDisplayTitle = false;
to allow you to use any kind of name with previous option
$wgCapitalLinks = false; // to disable auto-uppercase for first letters

Edit a page and add:
{{DISPLAYTITLE:this is my custom title}}

Save.

Effect: none
Expected: to change visible page title (not URL)


Version: 1.15.x
Severity: normal
URL: http://www.mediawiki.org/wiki/Manual_talk:$wgAllowDisplayTitle

Details

Reference
bz21478

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:53 PM
bzimport set Reference to bz21478.
bzimport added a subscriber: Unknown Object (MLST).

I'm not able to reproduce this bug, either on 1.15.1 or trunk on my local wiki. Can you provide a link to a page where this bug happens?

sorin.sbarnea wrote:

Please check this wiki page http://i18n.ro/test

This is another MediaWiki that I maintain where I observe the same behavior - currently this one is running MW 1.13.2 but I will try to update to latest version now.

$wgRestrictDisplayTitle was introduced in 1.14.0, in older versions it'll always behave like "$wgRestrictDisplayTitle = true;".

sorin.sbarnea wrote:

I think this may be an invalid bug, after I upgraded the i18n.ro MW to 1.15.1 this is working. Still it does not work on my other wiki that is already updated but I suspect that this may be caused by some other extensions I installed.

Thanks and sorry for adding a bug without checking without extensions.