Mô tổ:Category handler/data
Ngoại quan
Khả tạiMô tổ:Category handler/data/docKiến lập thử mô tổ đích thuyết minh văn kiện
-- 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