Manual:$wgReadOnlyFile/ru

Category:MediaWiki configuration settings/ru#ReadOnlyFileCategory:MediaWiki configuration settings introduced before version 1.1.0/ru#ReadOnlyFileCategory:MediaWiki configuration settings still in use/ru#ReadOnlyFileCategory:Maintenance scripts setting variables/ru#ReadOnlyFile
Настройка скриптов обслуживания: $wgReadOnlyFile
If this file is found, the database is locked for the reason given in the contents of the file.
Введено в версии:Before 1.1.0
Удалено в версии:всё ещё используется
Допустимые значения:(путь до файла)
Значение по умолчанию:"{$wgUploadDirectory }/lock_yBgMBwiR"
(Note: The default value of this variable depends on other variables, such as the values set in Setup.php , after LocalSettings.php is executed)

Подробности

If this file is found and its contents are more than 0 bytes long, the database is locked for the reason given in the contents of the file.

The file must be writable by the web server for locking the database when using the special pages "Special:LockDB" (locking) and "Special:UnlockDB" (unlocking).

This feature cannot be used if the wiki uses CACHE_DB for $wgSessionCacheType since users cannot log into the wiki to access "Special:UnlockDB" for unlocking the database.

См. также

Category:Maintenance scripts setting variables/ru Category:MediaWiki configuration settings/ru Category:MediaWiki configuration settings introduced before version 1.1.0/ru Category:MediaWiki configuration settings still in use/ru