Modul:Category handler: Unterschied zwischen den Versionen

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