Handbuch:$wgLockManagers

From mediawiki.org
This page is a translated version of the page Manual:$wgLockManagers and the translation is 33% complete.
Other languages:
Dateien und Datei-Uploads: $wgLockManagers
Array of configuration arrays for each lock manager.
Eingeführt in Version:1.19.0
Entfernt in Version:weiterhin vorhanden
Erlaubte Werte:(Array)
Standardwert:siehe unten

Details

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

Initialized in Setup.php:

[
	[
		'name' => 'fsLockManager',
		'class' => FSLockManager::class,
		'lockDirectory' => "{$wgUploadDirectory}/lockdir",
	],
	[
		'name' => 'nullLockManager',
		'class' => NullLockManager::class,
	],
]