Content deleted Content added
test rm conditional on default 'to' |
test row 'to' default |
||
Line 71:
local to = args["to".. i] or ""
if (to == "") then
text = string.format("%s [[%s:%s]]",text,mw.title.getCurrentTitle().nsText,mw.title.getCurrentTitle().text) --If no target given assume current page is the target
else
text = string.format("%s [[%s]]",text,to)
end
text = string.format("%s[%s history]) → [[%s]]",text,tostring(mw.uri.fullUrl(from, {action = "history"} )), to)
|