2010/2/9 Herulee <[email protected]>:
>
> Thanx for the reply
>
> It means that putting section name in the text will create the section
> Is there any way to get numbers of that section after creating them?
>
api.php?action=parse&page=Pagename&prop=sections will give you a list
of sections and their numbers. The numbers are really just sequential,
though, and start at 1.

> and I dont need to put anything in the section..to create the page?
>
No, all you need to do is put == Section name == in the page. You can
put the content in there as well while you're at it, of course.

Roan Kattouw (Catrope)

_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to