Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php |
— | — | @@ -271,7 +271,7 @@ |
272 | 272 | * Build the navigation for some given query result, reuse url-tail parameters |
273 | 273 | */ |
274 | 274 | protected function getNavigationBar($res, $urltail) { |
275 | | - global $wgUser, $smwgQMaxLimit; |
| 275 | + global $wgUser, $smwgQMaxInlineLimit; |
276 | 276 | $skin = $wgUser->getSkin(); |
277 | 277 | $offset = $this->m_params['offset']; |
278 | 278 | $limit = $this->m_params['limit']; |
— | — | @@ -290,7 +290,7 @@ |
291 | 291 | |
292 | 292 | $first=true; |
293 | 293 | foreach (array(20,50,100,250,500) as $l) { |
294 | | - if ($l > $smwgQMaxLimit) break; |
| 294 | + if ($l > $smwgQMaxInlineLimit) break; |
295 | 295 | if ($first) { |
296 | 296 | $navigation .= ' ('; |
297 | 297 | $first = false; |