モジュールの解説[表示] [編集] [履歴] [キャッシュを破棄]

{{Is redirect}}で使用されています。

使用法 編集

{{#invoke:Is redirect|main}}

local p = {}

function p.main(frame)
	local args = frame:getParent().args
	local title = mw.title.new(args[1])
	isRedirect = title.isRedirect
	return isRedirect and 'x' or ''
end

return p