Jump to content

Module:Subpages/doc

From Wikibooks, open books for an open world

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.

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

See also

[edit source]

Based on m:Module:Subpages.