Last modified: 2014-02-12 23:32:53 UTC
In LocalSettings.php $wgAllowDisplayTitle = true; $wgRestrictDisplayTitle = false; In page http://www.yiai.org/t/index.php?title=Main_Page I write the code {{DISPLAYTITLE:MediaWiki has been successfully installed.}} but the page title is still "Main Page", not the expected "MediaWiki has been successfully installed." While, in the preview page http://www.yiai.org/t/index.php?title=Main_Page&action=submit everything is right.
Works for me. Clear your cache and try again: [[Wikipedia:Bypass_your_cache#Instructions_for_various_browsers]]
I have clear my cache and try this on firefox3.6/win7, ie8/win7 and firefox3.6/ubuntu10.04. It doesn't work. And I've set up a mediawiki 1.15.4 system with the same database and LocalSetting.php, then it works. http://www.yiai.org/t15/index.php?title=Main_Page
Created attachment 7563 [details] What I see Still works for me. I attached a picture to show what I'm seeing.
Created attachment 7564 [details] 1.16beta3 doesn't work
Created attachment 7565 [details] 1.15.4 works
In fact, you have seen what I mentioned. I've attach 2 pics to illustrate what I mean.
*** Bug 24587 has been marked as a duplicate of this bug. ***
Is displaytitle supposed to do that?
See http://www.mediawiki.org/wiki/Help:Magic_words I think so. And please look at the attachments. (In reply to comment #8) > Is displaytitle supposed to do that?
(In reply to comment #7) > *** Bug 24587 has been marked as a duplicate of this bug. *** Bug 24587 may be related but *is* *not* a duplicate of this bug: Other version involved, and behaviour differs. Bug 24587 says, previews were *not* honoring DISPLAYTITLE, while this bug say, the were.
Happens in the latest release (1.16.0) as well.
Happens in the latest release (1.16.1) as well.
Isn't this issue limited to the Main page ? The main page probably has some special casing for the <title>. A MediaWiki message taking precedence ?
I can confirm this behaviour in 1.20.6 (ddc3327). The html title doesn't change. The bug only occurs on the site configured in Mediawiki:MainPage. It's definetly not a browser cache issue. Also, purging doesn't help.
Increased version to 1.20.5, Changed importance Low -> Normal since this is very annoying in terms of SEO
Main page title needs to be configured at [[MediaWiki:Pagetitle-view-mainpage]], or disable this message to use the default title (like what other pages have).
Editing MediaWiki:Pagetitle-view-mainpage works. To use the actual page name or the title set by {{DISPLAYTITLE:...}} I changed it to a contain a single "-" (without quotes). That worked fine.