Anonymous user
Module:Check for unknown parameters: Difference between revisions
Module:Check for unknown parameters (view source)
Revision as of 07:33, 24 January 2019
, 5 years agoless aggressive encoding per request on the talk page
No edit summary |
(less aggressive encoding per request on the talk page) |
||
Line 51:
end
if not knownflag and ( not ignoreblank or isnotempty(v) ) then
k = mw.
table.insert(values, k)
end
Line 60:
local vlen = mw.ustring.len(v)
v = mw.ustring.sub(v, 1, (vlen < 25) and vlen or 25)
v = mw.
table.insert(values, k .. ' = ' .. v .. ((vlen >= 25) and ' ...' or ''))
end
|