Module:Category handler/data: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(add a currentTitleNamespaceParameters field)
(use the new shared function for getting parameter mappings)
Line 6: Line 6:
local mShared = require('Module:Category handler/shared')
local mShared = require('Module:Category handler/shared')
local blacklist = require('Module:Category handler/blacklist')
local blacklist = require('Module:Category handler/blacklist')
local mNamespaceDetect = require('Module:Namespace detect')
local title = mw.title.getCurrentTitle()
local title = mw.title.getCurrentTitle()


Line 16: Line 15:
data.currentTitleNamespaceParameters = mShared.getNamespaceParameters(
data.currentTitleNamespaceParameters = mShared.getNamespaceParameters(
title,
title,
mNamespaceDetect.getParamMappings()
mShared.getParamMappings()
)
)