'name' => 'fsLockManager',
'class' => 'FSLockManager',
'lockDirectory' => wfTempDir() . '/test-repo/lockdir',
+ ), array(
+ 'name' => 'nullLockManager',
+ 'class' => 'NullLockManager',
) );
$wgLocalFileRepo = array(
'class' => 'LocalRepo',
'wgScriptPath' => '/',
'wgArticlePath' => '/wiki/$1',
'wgActionPaths' => array(),
- 'wgLockManagers' => array(
+ 'wgLockManagers' => array( array(
'name' => 'fsLockManager',
'class' => 'FSLockManager',
'lockDirectory' => $this->uploadDir . '/lockdir',
- ),
+ ), array(
+ 'name' => 'nullLockManager',
+ 'class' => 'NullLockManager',
+ ) ),
'wgLocalFileRepo' => array(
'class' => 'LocalRepo',
'name' => 'local',