Note: this module is not working at the moment. See Commons:Module:Page for details.

Iterates over page names under a prefix, using Special:PrefixIndex. The prefix is not stripped from the subpage names.

Usage

edit
subpages = require('Module:Subpages').subpages
for page in subpages('Page') do
    -- etc.
end

See also

edit

Based on m:Module:Subpages.