手册:$wgExtendedLoginCookieExpiration

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

Other languages:
English • ‎dansk • ‎español • ‎polski • ‎português • ‎中文 • ‎日本語
Cookies: $wgExtendedLoginCookieExpiration
如果非空,则为“记住我的登录状态”会话的持续时间(秒);0意味着直到浏览器关闭。 如果为空,使用$wgCookieExpiration
引进版本:1.26.0
移除版本:仍在使用
允许的值:(integer)
默认值:null

详情

MediaWiki版本: 1.26

The purpose of this cookie is to allow having a different (usually longer, but this is not enforced) duration for "记住我的登录状态" login-related cookies. This means you can e.g. set the standard cookie duration (widely used for MW cookies) to 30 days, but set the "记住我的登录状态" duration to a year.

值的意思:

  • null - MW将改为遵循$wgCookieExpiration
  • Positive integer - Duration of "记住我的登录状态" sessions, in seconds.
  • 0 - "记住我的登录状态" sessions will last until the browser closes.

參見