Roan Kattouw wrote:
New sections can be added by setting section=new . In this case, you should NOT add a section header, it will be added for you. The section header text (without the = symbols) should go in the summary parameter. For example:
api.php?action=edit&title=Talk:Foo§ion=new&summary=Hello&text=Hello%20world
will create a new section called "Hello" with "Hello world" in it. Compare this interface to the regular section edit form [4] in which you also have to enter the section title in a separate textbox.
What about providing another parameter to split that double function of the summary? I have seen the convenience to add a new section with section=new but didn't like having to set the same summary as the header.
So i propose addign a new parameter, newsectionname which if present overrides the summary for the header.
E.g. api.php?action=edit&title=Wikipedia:Wikipedia_Stats§ion=new&summary=February+statistics&newsectiinname=Automatically+adding+February+statistics+from+somesource&text=Hello%20world