Zum Inhalt springen

Modul:Category handler: Unterschied zwischen den Versionen

use the _main function for nsDetect rather than the main function
(test the sandbox version of Module:Namespace detect)
(use the _main function for nsDetect rather than the main function)
Zeile 206: Zeile 206:
             ndargs.page = args.page
             ndargs.page = args.page
             ndargs.demospace = args.demospace
             ndargs.demospace = args.demospace
             local ndresult = nsDetect.main(ndargs)
             local ndresult = nsDetect._main(ndargs)
             if ndresult then
             if ndresult then
                 ret = ret .. ndresult
                 ret = ret .. ndresult
Zeile 229: Zeile 229:
             ndargs.demospace = args.demospace
             ndargs.demospace = args.demospace
              
              
             local data = nsDetect.main(ndargs)
             local data = nsDetect._main(ndargs)
              
              
             -- Work out what to return based on the result of the namespace detect call.
             -- Work out what to return based on the result of the namespace detect call.
Anonymer Benutzer