Module:Category handler/data: திருத்தங்களுக்கு இடையிலான வேறுபாடு

தமிழர்விக்கியிலிருந்து
Jump to navigation Jump to search
use the new shared function for getting parameter mappings
imported>Ravidreams
சி en:Module:Category_handler/data இலிருந்து திருத்தம் இறக்குமதி செய்யப்பட்டன
 
(6 பயனர்களால் செய்யப்பட்ட 7 இடைப்பட்ட திருத்தங்கள் காட்டப்படவில்லை.)
(வேறுபாடு ஏதுமில்லை)

08:12, 12 ஏப்பிரல் 2025 இல் கடைசித் திருத்தம்

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=236937" இலிருந்து மீள்விக்கப்பட்டது