Reply widget opens for users who can't edit the page (e.g. because it's protected and the user is not logged in).
We previously fixed this in T240582 but it came back, looks like we broke it in rEDTO64392af48530: Add reply links on the server (T252555).
(Reported by @Ryasmeen in T273554)
Testing instructions
Scenario #1: protected talk page
- Visit a talk page that is protected
- Notice [ reply ] link are: A) visible and B) appear as they normally do
- Click any [ reply ] link on the page
- Verify a modal dialog appears with error message similar to this (the exact wording will differ on different wikis):
Scenario #2: person is blocked from editing → moved to T270803
Done
- What's described in the "Implementation details/testing instructions" section above is implemented


