"ഘടകം:Category handler/data" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
Jump to navigation
Jump to search
(ചെ.) (ഒരു പതിപ്പ് ഇറക്കുമതി ചെയ്തു) |
(വ്യത്യാസം ഇല്ല)
|
03:51, 5 മേയ് 2016-നു നിലവിലുള്ള രൂപം
-- 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