Last modified: 2014-08-30 04:28:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72202, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70202 - Empty sections get duplicated
Empty sections get duplicated
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-30 04:28 UTC by Anton
Modified: 2014-08-30 04:28 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Anton 2014-08-30 04:28:36 UTC
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==

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links