Index: trunk/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php |
— | — | @@ -509,7 +509,7 @@ |
510 | 510 | |
511 | 511 | $params['limit'] = new Parameter( 'limit', Parameter::TYPE_INTEGER ); |
512 | 512 | $params['limit']->setMessage( 'smw_paramdesc_limit' ); |
513 | | - $params['limit']->setDefault( 20 ); |
| 513 | + $params['limit']->setDefault( $GLOBALS['smwgQDefaultLimit'] ); |
514 | 514 | |
515 | 515 | $params['sort'] = new ListParameter( 'sort' ); |
516 | 516 | $params['sort']->setMessage( 'smw-paramdesc-sort' ); |
Index: trunk/extensions/SemanticMediaWiki/includes/parserhooks/SMW_SetRecurringEvent.php |
— | — | @@ -257,7 +257,7 @@ |
258 | 258 | |
259 | 259 | // Handle the 'include' dates as well. |
260 | 260 | $all_date_strings = array_filter( array_merge( $all_date_strings, $included_dates ) ); |
261 | | - |
| 261 | + |
262 | 262 | return array( $property_name, $all_date_strings, $unused_params ); |
263 | 263 | } |
264 | 264 | |