The EditPage class should refuse to work on non-textual content. Non-text content usually requires a strict syntax for representing the structured data, which is annoying to edit by used and easily broken. So direct editing should be disabled for this kind of content.
Note that direct editing via ApiEditPage (i.e. action=edit) can in general still be allowed, though a dedicated API would be desired for some content models.
Version: unspecified
Severity: normal