Redirect link
- 1 year ago
- 0
- 0
local p = {}
function p.main(frame)
--local getArgs = require('Модуль:Arguments').getArgs
--local args = getArgs(frame, {trim = false, removeBlanks = false})
local args = frame:getParent().args
local title = mw.title.new(args[1])
isRedirect = title.isRedirect
return isRedirect and 'yes' or ''
end
return p