Using api.php?action=edit&title=Talk:Sandbox§ion=new§iontitle=bar&appendtext=baz&token=(token), where Talk:Sandbox contains the content "foo", results in the content "foo\n==bar==\nfoobaz". The lead content is duplicated in the new section, before the appendtext content.
Version: 1.22.0
Severity: normal