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

            Bug ID: 70202
           Summary: Empty sections get duplicated
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: SemanticForms
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

If I edit page with a form and leave a section field empty on the following
edit it gets populated with the header for that section, so on save it gets
duplicated.

For example, say I have the following form

<includeonly>
==Section 1==
{{{section|Section 1|level=2}}}
{{{standard input|save}}}
</includeonly>

I create a page with the form and leave section field empty. A page is created
containing only a line 

==Section 1==

But now if I try to edit it again the form loads with section field populated
with text "==Section 1==". Upon saving resulting page looks like

==Section 1==
==Section 1==

-- 
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