Module:Category handler/data: Difference between revisions

use the new shared function for getting parameter mappings
(add a currentTitleNamespaceParameters field)
(use the new shared function for getting parameter mappings)
Line 6:
local mShared = require('Module:Category handler/shared')
local blacklist = require('Module:Category handler/blacklist')
local mNamespaceDetect = require('Module:Namespace detect')
local title = mw.title.getCurrentTitle()
 
Line 16 ⟶ 15:
data.currentTitleNamespaceParameters = mShared.getNamespaceParameters(
title,
mNamespaceDetectmShared.getParamMappings()
)