Модуль:IanComradeBot/prototypes/table.json/data: различия между версиями

Нет описания правки
м Update via atematic bot
 
Строка 1: Строка 1:
local title = mw.title.new("Участник:IanComradeBot/prototypes/table.json")
local loader = require("Module:JsonLoader")
local content = title and title:getContent() or ""
return loader.getFromTitle("Участник:IanComradeBot/prototypes/table.json")
local success, allSelectorData = pcall(mw.text.jsonDecode, content)
return (success and type(allSelectorData) == "table") and allSelectorData or {}