In {T128145} @nirzar suggested the following template for presenting a list of pages, which are in a particular category:
{F4334826}
The problems I see:
[ ] Clarify, what happens with the text of a category (a category doesn't just contain pages, it can contain (a lot) of wikitext, too.
[ ] What happens with sub-categories (which currently are exposed on the category page, too, e.g. https://commons.wikimedia.org/wiki/Category:Lower_Yarkon_River)
[x] Clarify, if there's already an API, which exposes a list of pages for a category.
The API, which exposes a list of pages in a category, is already available, e.g.:
https://commons.wikimedia.org/w/api.php?action=query&list=categorymembers&cmtitle=Category:Lower_Yarkon_River
As far as I can see, the api should support our InfiniteScroll module, too (haven't tested).