HomePhabricator

Check if page is really editable and call #setReadOnly accordingly

Description

Check if page is really editable and call #setReadOnly accordingly

There are various circumstances where the wgIsProbablyEditable check
gives incorrect results (hence the 'probably'):

  • User is blocked (T111217)
  • Page is protected from creation (T173763)
  • Page is transcluded on a cascade-protected page (T217217)

Bug: T111217
Bug: T173763
Bug: T217217
Change-Id: I7df8909c31f29d2e7521bef8612c27cb61146a4d

Details

Provenance
matmarexAuthored on May 18 2019, 3:09 PM
Parents
rEVED7dc2fee2f7a2: Merge "MobileCollabTarget: Cleanup toolbar"
Branches
Unknown
Tags
Unknown
ChangeId
I7df8909c31f29d2e7521bef8612c27cb61146a4d