$smwgDefaultNumRecurringEvents

From semantic-mediawiki.org


Configuration parameter details:
Name $smwgDefaultNumRecurringEvents
Description Sets the default number of recurring events if no end date is set
Default setting
100
Software Semantic MediaWiki
Since version
Until version still available
Configuration Installation
Keyword recurring event


$smwgDefaultNumRecurringEvents is a configuration parameter that sets the default number of instances defined by parser function #set_recurring_event, if no end date is set. The configuration parameter was introduced in Semantic MediaWiki 1.4.3Released on 15 August 2009 and compatible with MW 1.13.x - 1.16.x..

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]

$smwgDefaultNumRecurringEvents = 100;

This means that 100 recurring events will be created if no end date is set.

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 events that will be created
$smwgDefaultNumRecurringEvents = 250;

This means that 250 recurring events will be created if no end date is set.

Reduce the number of recurring events that will be created
$smwgDefaultNumRecurringEvents = 50;

This means that 50 recurring events will be created if no end date is set.

See also[edit]

References

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