Jump to content

Module:High-use: Difference between revisions

Fix typo per talk
m (1 revision imported)
(Fix typo per talk)
Line 24: Line 24:
local f = math.floor(math.log10(count)) - sigfig + 1
local f = math.floor(math.log10(count)) - sigfig + 1
-- Round and insert "apprxomimately" or "+" when appropriate
-- Round and insert "approximately" or "+" when appropriate
if (frame.args[2] == "yes") or (mw.ustring.sub(frame.args[1],-1) == "+") then
if (frame.args[2] == "yes") or (mw.ustring.sub(frame.args[1],-1) == "+") then
-- Round down
-- Round down
Line 55: Line 55:


function p.text(frame, count)
function p.text(frame, count)
local bot_text = "\n\n----\nTransclusion count updated by [[User:Ahechtbot|Ahechtbot]]."
local bot_text = "\n\n----\nTransclusion count updated automatically ([[Template:High-use/doc#Technical details|see documentation]])."
if frame.args["nobot"] == true then
if frame.args["nobot"] == true then
bot_text = ""
bot_text = ""
Anonymous user