Last modified: 2007-07-31 11:08:42 UTC
When using {{DISPLAYTITLE|xyz}}, <h1>Main Page</h1> becomes <h1>xyz</h1>, but <title>Main Page - TestWiki</title> becomes <title></title>
DISPLAYTITLE is fatally broken and will likely be removed or rewritten.
(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.
Created attachment 3580 [details] Patch to fix bug 6253 In this patch I: * Removed parsing of the given title, since the title is always escaped. * Hid the text "(Link to this page as $1)" when the given title equals the real title * Altered OutputPage::addParserOutputNoText() to set both $mPagetitle (<h1>) 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.
Fixed back in r23393.