Manual talk:$wgAllowDisplayTitle

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)