When you visit a protected page with #/editor/0 fragment it automatically opens the editor window, for example please visit https://en.m.wikipedia.org/wiki/Garwolin#/editor/0.
This doesn't work for protected articles (as you cannot edit them e.g. https://en.m.wikipedia.beta.wmflabs.org/w/index.php?title=Selenium_protected_test_2&mobileaction=toggle_view_mobile#/editor/0).
Not showing editor is correct behavior, but the problem is that user has no feedback that article is protected,
and it looks like a bug.
Steps to reproduce
Expected results
A message/modal/toast with information that article is protected is shown to the user
Actual results
Nothing happens
Environments observed
All
Developer notes
Doesn't look like this needs input from @alexhollender - we can show a toast in this situation.
The logic is currently in https://github.com/wikimedia/mediawiki-skins-MinervaNeue/blob/master/resources/skins.minerva.editor/init.js#L415
The setup script in https://github.com/wikimedia/mediawiki-skins-MinervaNeue/blob/master/resources/skins.minerva.editor/init.js#L231 will need to consider the existing hash fragment on the page and send a toast notification (mw.notify) when this has happened.
QA steps
Visit https://en.m.wikipedia.beta.wmflabs.org/w/index.php?title=Selenium_protected_test_2&mobileaction=toggle_view_mobile#/editor/0 in an incognito window.
A toast should show telling you the page is protected
