Jump to content

Module:Category handler/data

Permanently protected module
From Wikipedia, the free encyclopedia

-- This module assembles data to be passed to [[Module:Category handler]] using-- mw.loadData. This includes the configuration data and whether the current-- page matches the title blacklist.localdata=require('Module:Category handler/config')localmShared=require('Module:Category handler/shared')localblacklist=require('Module:Category handler/blacklist')localtitle=mw.title.getCurrentTitle()data.currentTitleMatchesBlacklist=mShared.matchesBlacklist(title.prefixedText,blacklist)data.currentTitleNamespaceParameters=mShared.getNamespaceParameters(title,mShared.getParamMappings())returndata
close