content.ini [VersionManagement]
The block [VersionManagement] of settings/content.ini, with 7 setting(s).
ViewModes[]=print
Define maximum versions can be managed. Use syntax
VersionHistoryClass[class_id]=maximum_nr to specify value for particular
classes. Or if you prefer to use class_identifier (since 4.1.1)
VersionHistoryClass[class_identifier]=maximum_nr
Otherwise, the value of DefaultVersionHistoryLimit will be used.
When decreasing DefaultVersionHistoryLimit or one value in VersionHistoryClass,
you can execute bin/php/cleanupversions.php to remove the exceeded archived versions.
Never edit settings/content.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/content.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/content.ini.append.phpfor one siteaccess,extension/<extension>/settings/content.ini.append.phpin an extension (read when the extension is active).
DefaultVersionHistoryLimit
Default: 45.
# settings/override/content.ini.append.php
[VersionManagement]
DefaultVersionHistoryLimit=45
*/ ?>VersionHistoryClass
Default: a hash of 1: 1=75.
# settings/override/content.ini.append.php
[VersionManagement]
# an empty "VersionHistoryClass[]" first replaces the shipped list; without it the items are added
VersionHistoryClass[]
VersionHistoryClass[1]=75
*/ ?>DeleteDrafts
Default: disabled.
# settings/override/content.ini.append.php
[VersionManagement]
DeleteDrafts=disabled
*/ ?>DraftsDuration
Time duration (number of days, hours, minutes and seconds)
before a draft is considered old and can be removed
Default: a hash of 4: days=90, hours=0, minutes=0, seconds=0.
# settings/override/content.ini.append.php
[VersionManagement]
# an empty "DraftsDuration[]" first replaces the shipped list; without it the items are added
DraftsDuration[]
DraftsDuration[days]=90
DraftsDuration[hours]=0
DraftsDuration[minutes]=0
DraftsDuration[seconds]=0
*/ ?>DraftsCleanUpLimit
Clean-up limit per one run of the 'old_drafts_cleanup.php' cronjob script
Default: 100.
# settings/override/content.ini.append.php
[VersionManagement]
DraftsCleanUpLimit=100
*/ ?>InternalDraftsDuration
Time duration (number of days, hours, minutes and seconds)
before an internal draft is considered old and can be removed
Default: a hash of 4: days=1, hours=0, minutes=0, seconds=0.
# settings/override/content.ini.append.php
[VersionManagement]
# an empty "InternalDraftsDuration[]" first replaces the shipped list; without it the items are added
InternalDraftsDuration[]
InternalDraftsDuration[days]=1
InternalDraftsDuration[hours]=0
InternalDraftsDuration[minutes]=0
InternalDraftsDuration[seconds]=0
*/ ?>InternalDraftsCleanUpLimit
Clean-up limit per one run of the 'internal_drafts_cleanup.php' cronjob script
Default: 100.
# settings/override/content.ini.append.php
[VersionManagement]
InternalDraftsCleanUpLimit=100
*/ ?>Related
Generated by ./console exp:help:examples from settings/content.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.