2010/2/3 Herulee <heramb.forums(a)googlemail.com>om>:
Hello,
Is it possible to change a specific section of existing page using API?
Use the
section parameter, see
http://www.mediawiki.org/wiki/API:Edit_-_Create%26Edit_pages#Parameters
. The section parameter is the number of the section to edit; if you
need a TOC to decide on this number, you can grab one with
action=parse, see
http://www.mediawiki.org/wiki/API:Expanding_templates_and_rendering#parse
.
Having a separate TOC automatically generated for images or tables is
not possible with MediaWiki core: you'll need to maintain one by hand
or find/write an extension for it.
Roan Kattouw (Catrope)