| Index: trunk/extensions/LiquidThreads/LiquidThreads.php |
| — | — | @@ -76,3 +76,5 @@ |
| 77 | 77 | $wgAutoloadClasses['SpecialDeleteThread'] = $dir.'LqtPages.php'; |
| 78 | 78 | $wgAutoloadClasses['NewUserMessagesView'] = $dir.'LqtPages.php'; |
| 79 | 79 | $wgAutoloadClasses['SpecialNewMessages'] = $dir.'LqtPages.php'; |
| | 80 | + |
| | 81 | +$eqLqtContentPages = array(); // Pages that should never be liquidized |
| \ No newline at end of file |
| Index: trunk/extensions/LiquidThreads/LqtBaseView.php |
| — | — | @@ -101,7 +101,10 @@ |
| 102 | 102 | * as needed and return True. If it's a normal, non-liquid page, return false. |
| 103 | 103 | */ |
| 104 | 104 | static function tryPage( $output, $article, $title, $user, $request ) { |
| 105 | | - if ( $title->isTalkPage() ) { |
| | 105 | + global $eqLqtContentPages; |
| | 106 | + if ( in_array( $title->getPrefixedText(), $eqLqtContentPages ) ) { |
| | 107 | + return true; |
| | 108 | + } if ( $title->isTalkPage() ) { |
| 106 | 109 | return self::talkpageMain ($output, $article, $title, $user, $request); |
| 107 | 110 | } else if ( $title->getNamespace() == NS_LQT_THREAD ) { |
| 108 | 111 | return self::threadPermalinkMain($output, $article, $title, $user, $request); |