Module:Subpages/doc

From Wikibooks, open books for an open world
Jump to navigation Jump to search

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 source]

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

See also[edit source]

Based on m:Module:Subpages.