On a (semi/fully) protected Flow page, users without requisite permissions to edit the content, still see the buttons for "Reply", the form for "Start a new topic", and the action-menu items for "edit", "edit title", "summarize", "edit summary", "resolve", or "hide".
Currently, for users without the requisite rights, trying to edit content in a protected page gives an Invalid token error when we save the changes. (E.g. at https://test.wikipedia.org/wiki/User_talk:Quiddity_(WMF)/protected_test_page )
[For reference: In the wikitext contentmodel pages, this is done by removing the section-edit links, and replacing the edit-tab(s) with "View source". The related idea for Flow is T62465: Flow: provide View Source (showing the wikitext) of someone's post.]
Flow should do one or more of these:
- Remove the "Reply" links
- Replace the "Edit [...]" links with a "view source" instead
- Pop up a message when a user initially interacts with one of those. <---- probably this one.
The message itself would ideally be re-used from MediaWiki:Protectedpagetext - however, that message can vary to a massive extent: from as big as 1 screen to as small as 1 sentence (e.g. Enwiki vs Mediawiki.org in screenshot)
- T108762: Notify users who are editing protected flow content (for users who are editing content on a protected Flow page)