모듈:Category handler/data: 두 판 사이의 차이

WikiMas
둘러보기로 이동 검색으로 이동
잔글 (판 1개를 가져왔습니다: 제발 좀...)
잔글 ("모듈:Category handler/data" 문서를 보호했습니다 ([편집=관리자만 허용] (무기한) [이동=관리자만 허용] (무기한)))
 
(차이 없음)

2021년 7월 14일 (수) 00:13 기준 최신판

이 모듈에 대한 설명문서는 모듈: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