한국   대만   중국   일본 
Mo đun:Category handler/data ? Wikipedia ti?ng Vi?t B??c t?i n?i dung

Mo đun : Category handler/data

Trang mô đun bị khóa vô hạn
Bach khoa toan th? m? Wikipedia
Tai li?u mo đun [ t?o ]
-- This module assembles data to be passed to [[Mo đun:Category handler]] using

-- mw.loadData. This includes the configuration data and whether the current

-- page matches the title blacklist.


local
 data
 =
 require
(
'Mo đun:Category handler/config'
)

local
 mShared
 =
 require
(
'Mo đun:Category handler/shared'
)

local
 blacklist
 =
 require
(
'Mo đ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