Author: webboy
Description:
When using {{DISPLAYTITLE|xyz}}, <h1>Main Page</h1> becomes <h1>xyz</h1>, but
<title>Main Page - TestWiki</title> becomes <title></title>
Version: 1.7.x
Severity: normal
OS: Linux
Platform: PC
• bzimport | |
Jun 9 2006, 4:06 PM |
F2974: bug6253.patch | |
Nov 21 2014, 9:18 PM |
Author: webboy
Description:
When using {{DISPLAYTITLE|xyz}}, <h1>Main Page</h1> becomes <h1>xyz</h1>, but
<title>Main Page - TestWiki</title> becomes <title></title>
Version: 1.7.x
Severity: normal
OS: Linux
Platform: PC
ui2t5v002 wrote:
(In reply to comment #1)
DISPLAYTITLE is fatally broken and will likely be removed or
rewritten.
Rewritten, please. It's sorely needed.
There are now javascript hacks in Common.js to implement the same functionality,
but it would be better if it were done in Mediawiki itself.
webboy wrote:
Patch to fix bug 6253
In this patch I:
title
and $mHTMLtitle (<title>) (actual fix)
Both OutputPage::$mPageLinkTitle and $this->data['displaytitle'] (MonoBook.php)
are not used before and after this patch and should probably be removed.
Attached: