Module:Category handler: Difference between revisions
Content added Content deleted
(test the sandbox version of Module:Namespace detect) |
(use the _main function for nsDetect rather than the main function) |
||
Line 206: | Line 206: | ||
ndargs.page = args.page |
ndargs.page = args.page |
||
ndargs.demospace = args.demospace |
ndargs.demospace = args.demospace |
||
local ndresult = nsDetect. |
local ndresult = nsDetect._main(ndargs) |
||
if ndresult then |
if ndresult then |
||
ret = ret .. ndresult |
ret = ret .. ndresult |
||
Line 229: | Line 229: | ||
ndargs.demospace = args.demospace |
ndargs.demospace = args.demospace |
||
local data = nsDetect. |
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. |