* Consider index page at Wikisource, e.g. [[ https://en.wikisource.org/wiki/Index:Anne_of_the_Island_(1920).djvu | Index:Anne of the Island (1920).djvu ]] (en) or [[https://fr.wikisource.org/wiki/Livre:Gex_-_Vieilles_gens_et_vieilles_choses_(1885).pdf | Livre:Gex - Vieilles gens et vieilles choses (1885).pdf]] (fr)
* Call the query API, asking for links on this page, limited to the Page namespace, : e.g. [[https://en.wikisource.org/w/api.php?action=query&prop=links&titles=Index:Anne%20of%20the%20Island%20(1920).djvu&pllimit=500&plnamespace=104]] or [[https://fr.wikisource.org/w/api.php?action=query&prop=links&titles=Livre:Gex_-_Vieilles_gens_et_vieilles_choses_(1885).pdf&pllimit=500&plnamespace=104]]
**What happens**
* Only a small portion of links are returned (apparently the links in the "Table of contents" section)
**What should have happened instead?**:
* The links in the "Pages" section should have been returned