$smwgMaxNumRecurringEvents

From Linux Web Expert


Template:Interlanguagelink: en
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


__NOBREADCRUMBLINKS__

$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 an unknown date unknown versions of MediaWiki to Semantic MediaWiki 2.5.8Released on an unknown date unknown versions of MediaWiki which caused only 26 recurring events being created.1

Default setting

$smwgMaxNumRecurringEvents = 500;

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

Changing the default setting

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

#scite could not render a citation text for reference "gh:smw:3541" because type "issue" was not assigned to a template.

References

  1. ^ gh:smw:3541