$smwgMaxNumRecurringEvents

From semantic-mediawiki.org


Configuration parameter details:
Name $smwgMaxNumRecurringEvents
Description Sets the maximum number of recurring events that can be defined regardless of a given end date
Default setting
500
Software Semantic MediaWiki
Since version
Until version still available
Configuration Installation
Keyword recurring event


$smwgDefaultNumRecurringEvents is a configuration parameter that sets the maximum number of instances that can be defined by parser function #set_recurring_event regardless of a given end date. The configuration parameter was introduced in Semantic MediaWiki 1.4.3.

There was a bug in Semantic MediaWiki 2.5.0Released on 14 March 2017 and compatible with MW 1.23.0 - 1.29.x. to Semantic MediaWiki 2.5.8Released on 7 September 2018 and compatible with MW 1.23.0 - 1.30.x. which caused only 26 recurring events being created.1

Default setting[edit]

$smwgMaxNumRecurringEvents = 500;

This means that a maximum of 500 recurring events will be created regardless of a given end date.

Changing the default setting[edit]

To modify the setting to this configuration parameter, add one of the following lines to your "LocalSettings.php" file after the enableSemantics() call:

Increase the number of recurring
$smwgMaxNumRecurringEvents = 750;

This means that a maximum of 750 recurring events will be created regardless of a given end date.

Reduce the number of recurring events
$smwgMaxNumRecurringEvents = 250;

This means that a maximum of 250 recurring events will be created regardless of a given end date.

See also[edit]

References

  1. ^  |  Semantic MediaWiki: GitHub issue gh:smw:3541