Index: trunk/extensions/LiquidThreads/pages/TalkpageView.php |
— | — | @@ -369,6 +369,12 @@ |
370 | 370 | function getPageLimit() { |
371 | 371 | $article = $this->article; |
372 | 372 | |
| 373 | + global $wgRequest; |
| 374 | + $requestedLimit = $wgRequest->getVal( 'limit', null ); |
| 375 | + if ( $requestedLimit ) { |
| 376 | + return $requestedLimit; |
| 377 | + } |
| 378 | + |
373 | 379 | if ( $article->exists() ) { |
374 | 380 | $pout = $article->getParserOutput(); |
375 | 381 | $setLimit = $pout->getProperty('lqt-page-limit'); |