Zum Inhalt springen

Modul:Category handler/data

Uß de Wikipedia
Väsjohn 1609787 vum 4. Juni 2024 öm 21:12 Uhr vum vum Metmaacher Tajoshu (Klaaf · Beijdrähsch). (De Sigg wood neu aanjelaat met däm Aanfang: -- 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 = …)
(Ongerscheid) ← De Väsjohn dovör zeije | De neuste Väsjohn (Ongerscheid) | De Väsjohn donoh zeije → (Ongerscheid)

Heh dat Modul kam_mer beschrieve op dä Sigg Modul:Category handler/data/Doku

-- 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