Jump to content

Module:Contentious topics/aware

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Galobtter (talk | contribs) at 12:28, 26 May 2019 (hm). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

local p = {}

function p.main (frame)
	return p._main ()
end

function p._main ()
	local content = mw.title.getCurrentTitle():getContent()
	return string.match(content, "{{Ds/aware|topic =%s+([%a,]+)")
end

return p