Modül:Kategori işleyici/veri

Vikipedi, özgür ansiklopedi
Modül belgelemesi[gör] [değiştir] [geçmiş] [temizle]
-- This module assembles data to be passed to [[Modül:Kategori işleyici]] using
-- mw.loadData. This includes the configuration data and whether the current
-- page matches the title blacklist.

local data = require('Modül:Kategori işleyici/yapılandırma')
local mShared = require('Modül:Kategori işleyici/paydaş')
local blacklist = require('Modül:Kategori işleyici/karaliste')
local title = mw.title.getCurrentTitle()

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

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

return data