Content deleted Content added
. |
done |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1:
local p = {}
function p.main(args)
local myArgs = mw.getCurrentFrame():getParent().args
local myPageName = myArgs[1]
if (myPageName == nil) or (myPageName == "") then
end
▲return retval
local mypageTitle = mw.title.makeTitle("", myPageName)
if mypageTitle.exists then
if mypageTitle.isRedirect then
return ""
else
return myPageName
end
end
return ""
end
|