Index: trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialSearchByAttribute.php |
— | — | @@ -24,7 +24,7 @@ |
25 | 25 | class SMW_SearchByAttribute { |
26 | 26 | |
27 | 27 | static function execute($query = '') { |
28 | | - global $wgRequest, $wgOut, $wgUser, $smwgQMaxLimit; |
| 28 | + global $wgRequest, $wgOut, $wgUser, $smwgQMaxInlineLimit; |
29 | 29 | $skin = $wgUser->getSkin(); |
30 | 30 | |
31 | 31 | // get the GET parameters |
— | — | @@ -92,8 +92,8 @@ |
93 | 93 | $first = false; |
94 | 94 | } else |
95 | 95 | $navigation .= ' | '; |
96 | | - if ($l > $smwgQMaxLimit) { |
97 | | - $l = $smwgQMaxLimit; |
| 96 | + if ($l > $smwgQMaxInlineLimit) { |
| 97 | + $l = $smwgQMaxInlineLimit; |
98 | 98 | $max = true; |
99 | 99 | } |
100 | 100 | if ( $limit != $l ) { |
Index: trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialSearchByRelation.php |
— | — | @@ -26,7 +26,7 @@ |
27 | 27 | class SMW_SearchByRelation { |
28 | 28 | |
29 | 29 | static function execute($query = '') { |
30 | | - global $wgRequest, $wgOut, $wgUser, $smwgQMaxLimit; |
| 30 | + global $wgRequest, $wgOut, $wgUser, $smwgQMaxInlineLimit; |
31 | 31 | $skin = $wgUser->getSkin(); |
32 | 32 | |
33 | 33 | // get the GET parameters |
— | — | @@ -91,8 +91,8 @@ |
92 | 92 | $first = false; |
93 | 93 | } else |
94 | 94 | $navigation .= ' | '; |
95 | | - if ($l > $smwgQMaxLimit) { |
96 | | - $l = $smwgQMaxLimit; |
| 95 | + if ($l > $smwgQMaxInlineLimit) { |
| 96 | + $l = $smwgQMaxInlineLimit; |
97 | 97 | $max = true; |
98 | 98 | } |
99 | 99 | if ( $limit != $l ) { |