Module:Category handler/data: Difference between revisions

Content deleted Content added
don't bother with the "or false"
m 12 revisions imported
Tags: Mobile edit Mobile web edit
 
(14 intermediate revisions by 10 users not shown)
Line 4:
 
local data = require('Module:Category handler/config')
local matchesBlacklistmShared = require('Module:Category handler/shared').matchesBlacklist
local blacklist = require('Module:Category handler/blacklist')
local title = mw.title.getCurrentTitle()
 
data.currentTitleMatchesBlacklist = mShared.matchesBlacklist(
mw.title.getCurrentTitle().prefixedText,
require('Module:Category handler/blacklist')
)
 
data.currentTitleNamespaceParameters = mShared.getNamespaceParameters(
title,
mShared.getParamMappings()
)