Module:Category handler: Difference between revisions

fix blacklist-checking bug
(fix default parameter main namespace bug)
(fix blacklist-checking bug)
Line 195:
local ret = '' -- The string to return.
-- Check blacklist if necessary.
if needsBlacklistCheck( args ) and not findBlacklistMatch( pageObject ) then
if not needsBlacklistCheck( args )
if needsBlacklistCheck( args ) andor not findBlacklistMatch( pageObject ) then
if not nsParamsExist( mappings, args ) then
-- No namespace parameters exist; basic usage. Pass args[1] to
Line 229 ⟶ 232:
ndargs.page = args.page
end
local data = NamespaceDetect.main( ndargs )
Anonymous user