When using the Minerva skin to edit a page that is not wikitext it loads the JS editor for the first section.
Some times this unexpectedly works ie. [[ https://meta.m.wikimedia.org/w/index.php?title=Schema:RelatedArticles&mobileaction=toggle_view_mobile | when editing json ]]
other times it doesn't work eg. [[ https://en.m.wikisource.org/w/index.php?title=Page:Folk-lore_-_A_Quarterly_Review._Volume_16,_1905.djvu/532 | wikisource ]] -(editor does not show text that needs translating rendering it unusable)
=== acceptance criteria ===
Visiting any page that is not wikitext and clicking edit:
[] should load the fallback editor (e.g. MediaWiki:Mobile.css)
[] should not pass the section parameter (non-wikitext content does not have sections)
== testing criteria ==
# Visit https://en.wikipedia.beta.wmflabs.org/wiki/User:Jdlrobson/common.js (where Jdlrobson is your username)
# Click edit icon
# Expected: it should reload the page
# Visit https://en.wikipedia.beta.wmflabs.org/wiki/Foo
# Click edit icon
# Expected: it should load an overlay
# Hit random
# Make sure you can edit the page (or at least be notified why you can't edit the page)