Module:High-use: Difference between revisions

m
1 revision imported
wp>GKFX
(Link to https://linkcount.toolforge.org/ which is more detailed and mobile-friendly)
m (1 revision imported)
 
(6 intermediate revisions by 4 users not shown)
Line 52: Line 52:
return return_value
return return_value
end
end
-- Actions if there is a large (greater than or equal to 100,000) transclusion count
-- Actions if there is a large (greater than or equal to 100,000) transclusion count
function p.risk(frame)
function p.risk(frame)
Line 93: Line 94:
if systemMessages then
if systemMessages then
used_on_text = used_on_text .. systemMessages ..
used_on_text = used_on_text .. systemMessages ..
((count and count > 2000) and (",''' and " .. templateCount) or ("'''"))
((count and count > 2000) and ("''', and " .. templateCount) or ("'''"))
else
else
used_on_text = used_on_text .. templateCount .. "'''"
used_on_text = used_on_text .. templateCount .. "'''"