Module:High-use: Difference between revisions

Fix missing full stops and support the info parameter regardless of how many pages there are.
(Fix Linter errors)
(Fix missing full stops and support the info parameter regardless of how many pages there are.)
Line 90:
)
if local infoArg = frame.args["info"] ~= "" and frame.args["info"] ~= "" then
if (systemMessages or frame.args[1] == "risk" or (count and count >= 100000) ) then
local info = systemMessages and '.<br/>Changes to it can cause immediate changes to the Wikipedia user interface.' or '.'
if infoArg then
if frame.args["info"] and frame.args["info"] ~= "" then
info = info .. "<br />" .. frame.args["info"]infoArg
end
sandbox_text = info .. '<br /> To avoid major disruption' ..
Line 100 ⟶ 101:
'The tested changes can be added to this page in a single edit. '
else
sandbox_text = '(infoArg and changes('.<br may/>' be.. widelyinfoArg noticed.. Test' changesC') inor the' and c') .. sandbox_text
'hanges may be widely noticed. Test changes in the ' .. sandbox_text
end
 
Anonymous user