For comparison, in the wikitext editor open any page and click Heading/Level2. The editor creates a new example heading at the top of the page.
VE has a number of confusing cases:
In each case, open the page, edit in VE, and click Heading:
- If the page starts with non-editable line like an image link, clicking Heading does nothing at all and the Save page button does not become enabled
- If the page starts with a single line of text, VE turns that text into a heading
- If the page starts with lines containing single line breaks, VE wraps the whole string in "==" thus garbling the contents of the page. For example if a page begins with
A line
another line
VE turns that into
A line
another line==
and then forces the user to go through the "Wiki markup detected" dance. Note that if the user actually does select "A line/another line" then the behavior of VE is subtly different, which is also confusing.
Suggest that clicking Heading without any text selected should create an example heading as the old wikitext editor does.
Version: unspecified
Severity: normal