Module:Category handler/data

தமிழர்விக்கியிலிருந்து
imported>Thiagalingam பயனரால் செய்யப்பட்ட 19:54, 17 திசம்பர் 2024 அன்றிருந்தவாரான திருத்தம் (9 திருத்தங்கள் இறக்குமதி செய்யப்பட்டன: Thiagalingam)
Jump to navigation Jump to search

Documentation for this module may be created at Module:Category handler/data/doc

-- 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
"https://tamilar.wiki/w/index.php?title=Module:Category_handler/data&oldid=82394" இலிருந்து மீள்விக்கப்பட்டது