(Содержимое страницы заменено на «return function() return 'MIMO' end») Метки: замена ручная отмена |
Нет описания правки |
||
| Строка 1: | Строка 1: | ||
return function() return ' | return { test = function() | ||
local ok, result = pcall(function() | |||
local t = mw.title.new("Модуль:Key"); if t then local c = t:getContent(); return tostring(c) end return "nil" | |||
end) | |||
if ok then return tostring(result) else return 'ERR: ' .. tostring(result) end | |||
end, } | |||
Версия от 12:24, 22 июня 2026
Для документации этого модуля может быть создана страница Модуль:TableOfChemicals/doc
return { test = function()
local ok, result = pcall(function()
local t = mw.title.new("Модуль:Key"); if t then local c = t:getContent(); return tostring(c) end return "nil"
end)
if ok then return tostring(result) else return 'ERR: ' .. tostring(result) end
end, }