Module:Electowidget: Difference between revisions
Content added Content deleted
(More futzing) |
(This makes the get_data test work) |
||
Line 45: | Line 45: | ||
-- local title, s = mw.title.new(tostring(datapage)) |
-- local title, s = mw.title.new(tostring(datapage)) |
||
local title = mw.title.new(frame.args[1]) |
local title = mw.title.new(frame.args[1]) |
||
if 1 == 1 then |
|||
return title |
|||
end |
|||
local s = title:getContent() |
local s = title:getContent() |
||
local i, j = s:find( "<electowidget>", 1, true ) |
local i, j = s:find( "<electowidget>", 1, true ) |