Visiting protected article with editor link does nothing in MobileFrontend
MediaWiki has an extension called MobileFrontend and a skin called Minerva-Neue. You can see them in action when you go to (for example) https://m.mediawiki.org/ instead of https://www.mediawiki.org/ (note the "m" instead of "www" in the URL).
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 the article is protected.
=== Steps to reproduce
Go to https://en.m.wikipedia.org/wiki/Barack_Obama#/editor/0
=== Expected results
A message/modal/toast with information that article is protected is shown to the user
=== Actual results
Nothing happens
See the Phabricator task for a code example and where the code is located!
You are expected to provide a patch in Wikimedia Gerrit. See https://www.mediawiki.org/wiki/Gerrit/Tutorial for how to set up Git and Gerrit.