Anonymous user
Module:Category handler: Difference between revisions
pass the demospace parameter to Module:Namespace detect
(hmm, looks like the computer I was editing this on doesn't like the negation symbol) |
(pass the demospace parameter to Module:Namespace detect) |
||
Line 205:
end
ndargs.page = args.page
local ndresult = nsDetect.main(ndargs)
if ndresult then
Line 212 ⟶ 213:
-- Namespace parameters exist; advanced usage.
-- If the all parameter is specified, return it.
if
ret = ret .. all
end
Line 223 ⟶ 225:
end
end
if args.page then▼
▲ ndargs.page = args.page
local data = nsDetect.main(ndargs)
Line 238 ⟶ 237:
-- Remove non-positive integer values, as only positive integers
-- from 1-10 were used with the old template.
if datanum > 0 and math.floor(datanum) == datanum then
ret = ret ..
end
else
|