Revert r23395, since it won't work (d'oh, of course)
authorRob Church <robchurch@users.mediawiki.org>
Mon, 25 Jun 2007 16:07:49 +0000 (16:07 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Mon, 25 Jun 2007 16:07:49 +0000 (16:07 +0000)
includes/OutputPage.php
includes/Parser.php

index cbc8e45..ed5674f 100644 (file)
@@ -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 ) );
        }
index 50f9ac1..e4418cd 100644 (file)
@@ -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 );