모듈:Category handler/data: 두 판 사이의 차이
둘러보기로 이동
검색으로 이동
잔글 (1 revision imported) |
잔글 (판 1개를 가져왔습니다: Category:Mbox_and_messagebox_templates) |
2024년 1월 7일 (일) 20:49 기준 최신판
이 모듈에 대한 설명문서는 모듈:Category handler/data/설명문서에서 만들 수 있습니다
-- 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.
local data = require('Module:Category handler/config')
local mShared = require('Module:Category handler/shared')
local blacklist = require('Module:Category handler/blacklist')
local title = mw.title.getCurrentTitle()
data.currentTitleMatchesBlacklist = mShared.matchesBlacklist(
title.prefixedText,
blacklist
)
data.currentTitleNamespaceParameters = mShared.getNamespaceParameters(
title,
mShared.getParamMappings()
)
return data