Manual:$wgLockManagers

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎polski • ‎日本語
Uploads: $wgLockManagers
Array of configuration arrays for each lock manager.
Introduced in version:1.19.0
Removed in version:still in use
Allowed values:array
Default value:see below
Other settings: Alphabetical | By function

Details[edit]

This array contains the configuration for each resource lock manager.

Each backend configuration has the following parameters:

name
A unique name for the lock manager
class
The lock manager class to use
Additional parameters are specific to the class used.

Defaults[edit]

Initialized in Setup.php:

array(
	array(
		'name'          => 'fsLockManager',
		'class'         => 'FSLockManager',
		'lockDirectory' => "{$wgUploadDirectory}/lockdir",
	),
	array(
		'name'          => 'nullLockManager',
		'class'         => 'NullLockManager',
	),
)