Manual:$wgReadOnlyFile

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgReadOnlyFile and the translation is 50% complete.

Other languages:
English • ‎Nederlands • ‎español • ‎français • ‎magyar • ‎polski • ‎português do Brasil • ‎русский • ‎العربية • ‎中文 • ‎日本語
Wiki locking: $wgReadOnlyFile
If this file is found, the database is locked for the reason given in the contents of the file.
Introduced in version:pre 1.1.0
Removed in version:still in use
Allowed values:(مسار لملف)
Default value:"{$wgUploadDirectory }/lock_yBgMBwiR"
(ملحوظة: تعتمد القيمة الافتراضية لهذا المتغير على متغيرات أخرى، مثل القيم المضبوطة في Setup.php بعد تنفيذ LocalSettings.php .)

التفاصيل

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.

انظر أيضا