Note to self: To get a list of all section headings, even on short pages, use http://en.wikipedia.org/w/api.php?action=parse&prop=sections&text={{:The_title}}__TOC__ Magnus