Page MenuHomePhabricator

Figure out how wgIsProbablyEditable / wgRelevantPageIsProbablyEditable will work with caching pageviews for logged-in users
Open, Needs TriagePublic

Description

The mw.config variables wgIsProbablyEditable and wgRelevantPageIsProbablyEditable determine whether the current user can (probably) edit the current page, based among other things on their groups / rights and the page’s protection level. This is fine to cache for anonymous users (either all anonymous users can probably edit the page, or none of them can), but how will this work if page views are cached even for logged-in users?