From 4a55dcdda839719bfae7bc7226d6ac3418223c38 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Mon, 25 Jun 2007 16:07:49 +0000 Subject: [PATCH] Revert r23395, since it won't work (d'oh, of course) --- includes/OutputPage.php | 6 ++---- includes/Parser.php | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index cbc8e45cd4..ed5674f788 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -387,10 +387,8 @@ class OutputPage { $this->mTemplateIds += (array)$parserOutput->mTemplateIds; # Display title - if( is_callable( array( $parserOutput, 'getDisplayTitle' ) ) ) { - if( ( $dt = $parserOutput->getDisplayTitle() ) !== false ) - $this->setPageTitle( $dt ); - } + if( ( $dt = $parserOutput->getDisplayTitle() ) !== false ) + $this->setPageTitle( $dt ); wfRunHooks( 'OutputPageParserOutput', array( &$this, $parserOutput ) ); } diff --git a/includes/Parser.php b/includes/Parser.php index 50f9ac1e70..e4418cd51c 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -12,7 +12,7 @@ * changes in an incompatible way, so the parser cache * can automatically discard old data. */ -define( 'MW_PARSER_VERSION', '1.6.1' ); +define( 'MW_PARSER_VERSION', '1.6.2' ); define( 'RLH_FOR_UPDATE', 1 ); -- 2.20.1