https://bugzilla.wikimedia.org/show_bug.cgi?id=52484

       Web browser: ---
            Bug ID: 52484
           Summary: Headings behavior garbles page contents
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Editing Tools
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to