Module:Subpages/doc

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.

UsageEdit

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

See alsoEdit

Based on m:Module:Subpages.