پودمان:High-use: تفاوت میان نسخه‌ها

۲۰ بایت حذف‌شده ،  ‏۱۸ نوامبر ۲۰۲۲
جز
۱ نسخه واردشده
(Link to https://linkcount.toolforge.org/ which is more detailed and mobile-friendly)
جز (۱ نسخه واردشده)
 
(۱۳ نسخهٔ میانی ویرایش شده توسط ۴ کاربر نشان داده نشد)
خط ۹۳: خط ۹۳:
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 .. "'''"
خط ۱۰۲: خط ۱۰۲:
(mw.title.getCurrentTitle().namespace == 828 and "module" or "template"),
(mw.title.getCurrentTitle().namespace == 828 and "module" or "template"),
title.fullText, title.fullText,
title.fullText, title.fullText,
mw.title.getCurrentTitle().namespace == 828 and "Module:Sandbox|module sandbox" or "امامت‌پدیا:User pages#SUB|user subpage"
mw.title.getCurrentTitle().namespace == 828 and "Module:Sandbox|module sandbox" or "imamatpedia:User pages#SUB|user subpage"
)
)
local infoArg = frame.args["info"] ~= "" and frame.args["info"]
local infoArg = frame.args["info"] ~= "" and frame.args["info"]
if (systemMessages or frame.args[1] == "risk" or (count and count >= 100000) ) 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 امامت‌پدیا user interface.' or '.'
local info = systemMessages and '.<br/>Changes to it can cause immediate changes to the imamatpedia user interface.' or '.'
if infoArg then
if infoArg then
info = info .. "<br />" .. infoArg
info = info .. "<br />" .. infoArg