Index: trunk/phase3/includes/Parser.php |
— | — | @@ -12,7 +12,7 @@ |
13 | 13 | * changes in an incompatible way, so the parser cache |
14 | 14 | * can automatically discard old data. |
15 | 15 | */ |
16 | | -define( 'MW_PARSER_VERSION', '1.6.1' ); |
| 16 | +define( 'MW_PARSER_VERSION', '1.6.2' ); |
17 | 17 | |
18 | 18 | define( 'RLH_FOR_UPDATE', 1 ); |
19 | 19 | |
Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -387,10 +387,8 @@ |
388 | 388 | $this->mTemplateIds += (array)$parserOutput->mTemplateIds; |
389 | 389 | |
390 | 390 | # Display title |
391 | | - if( is_callable( array( $parserOutput, 'getDisplayTitle' ) ) ) { |
392 | | - if( ( $dt = $parserOutput->getDisplayTitle() ) !== false ) |
393 | | - $this->setPageTitle( $dt ); |
394 | | - } |
| 391 | + if( ( $dt = $parserOutput->getDisplayTitle() ) !== false ) |
| 392 | + $this->setPageTitle( $dt ); |
395 | 393 | |
396 | 394 | wfRunHooks( 'OutputPageParserOutput', array( &$this, $parserOutput ) ); |
397 | 395 | } |