Jump to content

Module:Message box: Difference between revisions

Undo revision 896901 by 86.135.251.105 (talk)
No edit summary
(Undo revision 896901 by 86.135.251.105 (talk))
Line 110: Line 110:
function box:addCat(ns, cat, sort)
function box:addCat(ns, cat, sort)
if type(cat) ~= 'string' then return end
if type(cat) ~= 'string' then return end
local nsVals = {'main', 'template', 'extension', 'all'}
local nsVals = {'main', 'template', 'all'}
local tname
local tname
for i, val in ipairs(nsVals) do
for i, val in ipairs(nsVals) do
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.