پودمان:Transclusion count: تفاوت میان نسخهها
Nazarzadeh (بحث | مشارکتها) جز ۱ نسخه واردشده |
fa>Shkuru Afshar بدون خلاصۀ ویرایش |
||
خط ۲۰: | خط ۲۰: | ||
if namespace == 10 or namespace == 828 then | if namespace == 10 or namespace == 828 then | ||
template = mw.ustring.gsub(template, "/doc$", "") -- strip /doc from end | template = mw.ustring.gsub(template, "/doc$", "") -- strip /doc from end | ||
template = mw.ustring.gsub(template, "/توضیحات$", "") -- strip /توضیحات from end | |||
local index = mw.ustring.sub(mw.title.new(template).text,1,1) | local index = mw.ustring.sub(mw.title.new(template).text,1,1) | ||
local status, data = pcall(function () | local status, data = pcall(function () |