Module:PageListTools/doc

This is an old revision of this page, as edited by Alex (talk | contribs) at 00:12, 17 October 2024. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This is the documentation page for Module:PageListTools

This is a documentation subpage for Module:PageListTools.
It contains usage information, categories, and other content that is not part of the original module page.
Module:PageListTools requires Module:Array.
Module:PageListTools requires Module:DPLlua.
Module:PageListTools requires libraryUtil.
Module:PageListTools is required by Module:Elemental weakness table.
Module:PageListTools is required by Module:Slottable.

This module is a helper module to be used by other modules; it may not designed to be invoked directly. See RuneScape:Lua/Helper modules for a full list and more information.

FunctionTypeUse
pageswithcats(cats, [logging])table, boolean/nilReturns a list of mw.pages with the specified categories. Uses SMW.
Each entry can consist of several categories AND-ed together with ' '.
pageswithconditions(conditions, [logging])string, boolean/nilReturns a list of mw.pages that satisfies the given SMW conditions.
pagelistchecks(mw.pages, [logging])table, boolean/nilGiven a list of mw.pages, this function returns lists of mw.pages that are either non-existing (invalid), redirects or duplicates.
pageswithcatsdpl(cats, [logging])table, boolean/nilReturns a list of mw.pages with the specified categories. Uses DPL.
Each entry can consist of several categories AND-ed together with '&'.
pageswithconditionsdpl(conditions, [logging])table, boolean/nilReturns a list of mw.pages that satisfies the given DPL conditions.