Jump to content

Module:IsSubpage

From Wikipedia, the free encyclopedia
require('strict')
local p = {}
p.main = function(frame)
	local page = frame.args.page
	local title = mw.title.new(page)
	return title.isSubpage
end
return p