Jump to content

Module:IsSubpage: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
create
 
(No difference)

Latest revision as of 09:24, 8 May 2024

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