𨀈𬧐內容

Mô đun:Category handler/data

Uy-ki có thể chỉnh sửa bằng chữ Hán Nôm 威其固体整𢯢憑𡨸漢喃
番版𠓨𣅶13:09、𣈜30𣎃12𢆥2015𧵑SaigonSarang (討論 | 㨂𢵰) (1 翻版)
() ←番版𫇰 | 番版㵋一 (恪) | 番版㵋→ (恪)

固体𢪏材料𧗱模庉尼在模庉:Mô đun:Category handler/data/材料

-- This module assembles data to be passed to [[Mô đun:Category handler]] using
-- mw.loadData. This includes the configuration data and whether the current
-- page matches the title blacklist.

local data = require('Mô đun:Category handler/config')
local mShared = require('Mô đun:Category handler/shared')
local blacklist = require('Mô đun:Category handler/blacklist')
local title = mw.title.getCurrentTitle()

data.currentTitleMatchesBlacklist = mShared.matchesBlacklist(
	title.prefixedText,
	blacklist
)

data.currentTitleNamespaceParameters = mShared.getNamespaceParameters(
	title,
	mShared.getParamMappings()
)

return data