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, $smwgIQMaxLimit; |
| 28 | + global $wgRequest, $wgOut, $wgUser, $smwgQMaxLimit; |
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 > $smwgIQMaxLimit) { |
97 | | - $l = $smwgIQMaxLimit; |
| 96 | + if ($l > $smwgQMaxLimit) { |
| 97 | + $l = $smwgQMaxLimit; |
98 | 98 | $max = true; |
99 | 99 | } |
100 | 100 | if ( $limit != $l ) { |
Index: trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialSearchByRelation.php |
— | — | @@ -26,9 +26,9 @@ |
27 | 27 | class SMW_SearchByRelation { |
28 | 28 | |
29 | 29 | static function execute($query = '') { |
30 | | - global $wgRequest, $wgOut, $wgUser, $smwgIQMaxLimit; |
| 30 | + global $wgRequest, $wgOut, $wgUser, $smwgQMaxLimit; |
31 | 31 | $skin = $wgUser->getSkin(); |
32 | | - |
| 32 | + |
33 | 33 | // get the GET parameters |
34 | 34 | $type = $wgRequest->getVal( 'type' ); |
35 | 35 | $target = $wgRequest->getVal( 'target' ); |
— | — | @@ -91,8 +91,8 @@ |
92 | 92 | $first = false; |
93 | 93 | } else |
94 | 94 | $navigation .= ' | '; |
95 | | - if ($l > $smwgIQMaxLimit) { |
96 | | - $l = $smwgIQMaxLimit; |
| 95 | + if ($l > $smwgQMaxLimit) { |
| 96 | + $l = $smwgQMaxLimit; |
97 | 97 | $max = true; |
98 | 98 | } |
99 | 99 | if ( $limit != $l ) { |
Index: trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialBrowse.php |
— | — | @@ -26,7 +26,7 @@ |
27 | 27 | class SMW_SpecialBrowse { |
28 | 28 | |
29 | 29 | static function execute($query = '') { |
30 | | - global $wgRequest, $wgOut, $wgUser,$wgContLang, $smwgIQMaxLimit; |
| 30 | + global $wgRequest, $wgOut, $wgUser,$wgContLang; |
31 | 31 | $skin = $wgUser->getSkin(); |
32 | 32 | |
33 | 33 | // get the GET parameters |
Index: trunk/extensions/SemanticMediaWiki/specials/SearchTriple/SMW_SpecialPageProperty.php |
— | — | @@ -26,7 +26,7 @@ |
27 | 27 | class SMW_PageProperty { |
28 | 28 | |
29 | 29 | static function execute($query = '') { |
30 | | - global $wgRequest, $wgOut, $wgUser, $smwgIQMaxLimit; |
| 30 | + global $wgRequest, $wgOut, $wgUser; |
31 | 31 | $skin = $wgUser->getSkin(); |
32 | 32 | |
33 | 33 | // get the GET parameters |
— | — | @@ -54,7 +54,7 @@ |
55 | 55 | } else { |
56 | 56 | $type = ''; |
57 | 57 | } |
58 | | - |
| 58 | + |
59 | 59 | $limit = $wgRequest->getVal( 'limit' ); |
60 | 60 | if ('' == $limit) $limit = 20; |
61 | 61 | $offset = $wgRequest->getVal( 'offset' ); |