Manual talk:$wgAllowDisplayTitle

Older talk
I have just updated MW to 1.10.1 and the pages that use DISPLAYTITLE work as before, i.e. I can specify any new title for override, not just normalized titles. Did I get something wrong?

BTW: Since we are making excessive use of subpages, using DISPLAYTITLE with the normalized restriction would be a bad thing for us. Are there any alternatives to display a title that's different from the wiki page name?

Fpe 12:27, 19 July 2007 (UTC)


 * This did break some page titles when psyklopedin.org went to MW 1.12alpha - 1.10 is likely unaffected.


 * The relevant code is in includes/CoreParserFunctions.php near line 109. In "static function displaytitle", the line that's adding these restrictions looks like:


 * if( $title instanceof Title && $title->getFragment == '' && $title->equals( $parser->mTitle ) )


 * Try changing it to be:


 * if( $title instanceof Title && $title->getFragment == '' )


 * That should remove the new/more-restrictive checks on what text may be used in a displaytitle if that's what your site's administrators want done. --66.102.80.212 20:11, 1 January 2008 (UTC)


 * The position of this line is line 172 of includes/parser/CoreParserFunctions.php as of MW 1.14 but the rest is the same as above. Another alternative is $wgRestrictDisplayTitle = false; for 1.14 and later.

Interferences?
I set $wgAllowDisplayTitle to true but nothing happened, original titles everywhere (I did only lowercase the first letter). I did set $wgCapitalLinks to false some time ago, is there any interference between these two configs? Thanks in advance! Best regards, Peu 09:03, 13 November 2008 (UTC)