[dismiss]
The wiki is currently a work in progress. If you'd like to help out, please check the Community Portal and our getting started guide. Also, check out our sister project on poewiki.net.
View source for Module:Category handler/shared
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
-- This module contains shared functions used by [[Module:Category handler]]
-- and its submodules.
local p = {}
function p.matchesBlacklist(page, blacklist)
for i, pattern in ipairs(blacklist) do
local match = mw.ustring.match(page, pattern)
if match then
return true
end
end
return false
end
function p.getParamMappings(useLoadData)
local dataPage = 'Module:Namespace detect/data'
if useLoadData then
return mw.loadData(dataPage).mappings
else
000
1:0
Templates used on this page:
- Template:Adapted from (view source)
- Template:Adapted from Wikipedia (view source)
- Template:Category handler (view source)
- Template:Documentation categories (view source)
- Template:Documentation subpage (view source)
- Template:SUBJECTSPACE formatted (view source)
- Template:Sandbox other (view source)
- Module:Arguments (view source)
- Module:Category handler (view source)
- Module:Category handler/blacklist (view source)
- Module:Category handler/config (view source)
- Module:Category handler/data (view source)
- Module:Category handler/doc (view source)
- Module:Category handler/shared (view source)
- Module:Category handler/shared/doc (view source)
- Module:Documentation (view source)
- Module:Documentation/config (view source)
- Module:Namespace detect/config (view source)
- Module:Namespace detect/data (view source)
- Module:Yesno (view source)
Return to Module:Category handler/shared.