Index: trunk/extensions/LiquidThreads/classes/View.php |
— | — | @@ -632,7 +632,10 @@ |
633 | 633 | global $wgOut; |
634 | 634 | |
635 | 635 | // Load compatibility layer for older versions |
636 | | - $post = new Article_LQT_Compat( $post->getTitle() ); |
| 636 | + if ( !($post instanceof Article_LQT_Compat) ) { |
| 637 | + wfWarn( "No article compatibility layer loaded, inefficiently duplicating information." ); |
| 638 | + $post = new Article_LQT_Compat( $post->getTitle() ); |
| 639 | + } |
637 | 640 | |
638 | 641 | $parserOutput = $post->getParserOutput( $oldid ); |
639 | 642 | $wgOut->addParserOutputNoText( $parserOutput ); |