Herulee wrote: > Thax for the reply > Yes right to edit 3rd section pass section=3 parameter > > But if I want to edit first section with some contents section=1 > then all following section 2,3.. gets overwritten with whatever the > contents I pass in text parameter of section = 1 > > So do I need to fetch the contents of that page before and inser the text > under section 1 heading?
Heading of section 1 belong to section 1, so if you replace the section 1 with text which doesn't have the heading, you are removing the heading. That's normail. OTOH changing section 1 shouldn't remove text belonging to different sections. _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
