"Keep me logged in" extended to one year/yue

On Tuesday, 16 August 2016 around 15:00 UTC (8:00 a.m. PDT), the login sessions were changed so that they can last up to one year on Wikimedia sites. This will only affect users who select the option to "" on the login screen. 而家呢個選擇淨係維持得三十日.

Users who do not check "" will not be affected by this change. You can log out sooner by clicking the "" button in the upper right corner of your screen, or by clearing cookies for the website.

What is the reason for the change?
When users explicitly opt in to a longer session, it's useful to do so for longer than 30 days. Longer login lengths mean fewer problems with editors being logged out unexpectedly. The login length was previously much longer, and was shortened a few years ago to just 30 days as part of some other changes to how we handle cookies. Many users have requested a return to the longer length since then.

Does this affect cookies that are not related to logging in?
No, it does not.

Which wikis does this apply to?
This change applies to all WMF wikis in all languages, including Wikipedia, Wiktionary, Meta, MediaWiki.org, and more.

If my wiki shows the "" time period, will that be accurate?
Most wikis are using the default message, which says only, "", without specifying the maximum length of time. In that case, the message will remain the same.

If your wiki is currently using the message parameter, then the message will show the new length automatically. You will not need to change anything. Any wiki can choose to show the length by editing MediaWiki:Userlogin-remembermypassword to say, " ". The software will automatically insert the correct length of time where the " " is in this phrase. If you want, you can copy and translate the example from the English Wikipedia for your wiki.

If your wiki is using a custom local message that has the time hard-coded (e.g., " ", without the " " parameter), then please change this immediately to use the parameter instead. Using the parameter means that your users will always get accurate information about this setting.

Will existing login sessions be affected immediately?
Existing sessions will not be affected. Users will not be logged out early, and existing sessions will not be extended. This change will take effect the next time you login with "" checked.

Does this comply with the Privacy Policy?
Yes, the Legal team has verified that this change complies with the Privacy policy.



睇埋

 * T68699 - Increase "remember me" login cookie expiry from 30 days to 1 year on Wikimedia wikis
 * If you are system administrator of a wiki, see and  if you wish to change these settings.