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.2' ); |
| 16 | +define( 'MW_PARSER_VERSION', '1.6.1' ); |
17 | 17 | |
18 | 18 | define( 'RLH_FOR_UPDATE', 1 ); |
19 | 19 | |
Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -387,8 +387,10 @@ |
388 | 388 | $this->mTemplateIds += (array)$parserOutput->mTemplateIds; |
389 | 389 | |
390 | 390 | # Display title |
391 | | - if( ( $dt = $parserOutput->getDisplayTitle() ) !== false ) |
392 | | - $this->setPageTitle( $dt ); |
| 391 | + if( is_callable( array( $parserOutput, 'getDisplayTitle' ) ) ) { |
| 392 | + if( ( $dt = $parserOutput->getDisplayTitle() ) !== false ) |
| 393 | + $this->setPageTitle( $dt ); |
| 394 | + } |
393 | 395 | |
394 | 396 | wfRunHooks( 'OutputPageParserOutput', array( &$this, $parserOutput ) ); |
395 | 397 | } |