contentcheck.ini [StorageSettings]
The block [StorageSettings] of settings/contentcheck.ini, with 10 setting(s).
Never edit settings/contentcheck.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/contentcheck.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/contentcheck.ini.append.phpfor one siteaccess,extension/<extension>/settings/contentcheck.ini.append.phpin an extension (read when the extension is active).
ScanDirectoryList
The storage files (doc/eng-us/features/6.0/content-checks.md, "Storage files"): files below
var/<site>/storage that no content uses, and the file-system problems of those it uses.
The directories below the storage that are scanned
Default: a list of 3: images, images-versioned, original.
# settings/override/contentcheck.ini.append.php
[StorageSettings]
# an empty "ScanDirectoryList[]" first replaces the shipped list; without it the items are added
ScanDirectoryList[]
ScanDirectoryList[]=images
ScanDirectoryList[]=images-versioned
ScanDirectoryList[]=original
*/ ?>IgnorePathList
Paths below the storage that are never listed (prefixes): caches other code keeps there
Default: a list of 1: images/_video-thumbnails.
# settings/override/contentcheck.ini.append.php
[StorageSettings]
# an empty "IgnorePathList[]" first replaces the shipped list; without it the items are added
IgnorePathList[]
IgnorePathList[]=images/_video-thumbnails
*/ ?>ScanBatchSize
Files read in one step of the scan (50 to 50000), and how long a step in the browser may
take before it stops at the end of a batch (seconds, 1 to 25); the CLI runs the whole scan
Default: 2000.
# settings/override/contentcheck.ini.append.php
[StorageSettings]
ScanBatchSize=2000
*/ ?>StepSeconds
Default: 4.
# settings/override/contentcheck.ini.append.php
[StorageSettings]
StepSeconds=4
*/ ?>MaxListed
Orphans and problems kept in the result of a scan (100 to 100000); the totals count on
Default: 5000.
# settings/override/contentcheck.ini.append.php
[StorageSettings]
MaxListed=5000
*/ ?>MinAge
A file younger than this (seconds) is never an orphan: an upload writes the file before
its row in the database
Default: 86400.
# settings/override/contentcheck.ini.append.php
[StorageSettings]
MinAge=86400
*/ ?>ExpectedOwner
The owner every used file should have: a user name or id; empty: the owner of the storage
directory. The mode every used file should have at least (octal); empty: site.ini
[FileSettings] StorageFilePermissions
Default: empty.
# settings/override/contentcheck.ini.append.php
[StorageSettings]
ExpectedOwner=
*/ ?>FileMode
Default: empty.
# settings/override/contentcheck.ini.append.php
[StorageSettings]
FileMode=
*/ ?>QuarantineDirectory
Where orphans are moved: var/<site>/<QuarantineDirectory>/<date>/<path below the storage>
Default: storage-quarantine.
# settings/override/contentcheck.ini.append.php
[StorageSettings]
QuarantineDirectory=storage-quarantine
*/ ?>MaxActionBatch
At most this many files are taken from one confirmation (1 to 1000)
Default: 200.
# settings/override/contentcheck.ini.append.php
[StorageSettings]
MaxActionBatch=200
*/ ?>Related
Generated by ./console exp:help:examples from settings/contentcheck.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.