Last modified: 2014-02-12 23:32:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T26342, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24342 - {{DISPLAYTITLE}} doesn't change <title>, only the <h1> title at top of page
{{DISPLAYTITLE}} doesn't change <title>, only the <h1> title at top of page
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.20.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: code-update-regression
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-12 01:08 UTC by onecountry
Modified: 2014-02-12 23:32 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
What I see (224.42 KB, image/png)
2010-07-12 01:26 UTC, X!
Details
1.16beta3 doesn't work (221.72 KB, image/png)
2010-07-12 01:52 UTC, onecountry
Details
1.15.4 works (108.81 KB, image/png)
2010-07-12 01:53 UTC, onecountry
Details

Description onecountry 2010-07-12 01:08:09 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.
Comment 1 X! 2010-07-12 01:09:42 UTC
Works for me. Clear your cache and try again: [[Wikipedia:Bypass_your_cache#Instructions_for_various_browsers]]
Comment 2 onecountry 2010-07-12 01:22:17 UTC
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
Comment 3 X! 2010-07-12 01:26:44 UTC
Created attachment 7563 [details]
What I see

Still works for me. I attached a picture to show what I'm seeing.
Comment 4 onecountry 2010-07-12 01:52:30 UTC
Created attachment 7564 [details]
1.16beta3 doesn't work
Comment 5 onecountry 2010-07-12 01:53:33 UTC
Created attachment 7565 [details]
1.15.4 works
Comment 6 onecountry 2010-07-12 01:55:57 UTC
In fact, you have seen what I mentioned.

I've attach 2 pics to illustrate what I mean.
Comment 7 onecountry 2010-08-11 00:30:35 UTC
*** Bug 24587 has been marked as a duplicate of this bug. ***
Comment 8 Bawolff (Brian Wolff) 2010-08-11 00:34:27 UTC
Is displaytitle supposed to do that?
Comment 9 onecountry 2010-08-11 00:54:01 UTC
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?
Comment 10 Purodha Blissenbach 2010-08-11 01:13:00 UTC
(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.
Comment 11 Andrew Theis 2010-08-11 03:15:29 UTC
Happens in the latest release (1.16.0) as well.
Comment 12 onecountry 2011-01-12 09:52:26 UTC
Happens in the latest release (1.16.1) as well.
Comment 13 Derk-Jan Hartman 2011-01-12 11:34:22 UTC
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 ?
Comment 14 D.Hiepler 2013-05-21 23:27:44 UTC
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.
Comment 15 D.Hiepler 2013-05-22 07:51:47 UTC
Increased version to 1.20.5, Changed importance Low -> Normal since this is very annoying in terms of SEO
Comment 16 Liangent 2013-05-22 08:12:38 UTC
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).
Comment 17 D.Hiepler 2013-05-22 08:30:26 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links