Jump to content

手册:$wgDisableCookieCheck

From mediawiki.org
This page is a translated version of the page Manual:$wgDisableCookieCheck and the translation is 44% complete.
Cookies: $wgDisableCookieCheck
Disables session cookies
引进版本:1.1.0
移除版本:1.42.0 (Gerrit change 969101; git #490a5be4)
允许的值:(布尔值)
默认值:false

细节

If set to true, MediaWiki will assume that the user has a valid session cookie after logging in or creating an account. That is, if the cookie is not present (for example, because the user has disabled cookies), the user will appear to be logged in immediately when returning from login, but will be logged out as soon as they navigate to another page.

If set to false, MediaWiki attempts to detect this situation and give the user an informative message.

This setting does not affect security; it is a usability setting.

參考資料