Module:Sandbox/GoldenRing explained

local p = function p.CPCount(frame) local title = mw.title.new("Wikipedia:Copyright problems") local text = title:getContent text = frame:preprocess(text) local temp, count = mw.ustring.gsub(text, "\n *\\*[^*]", '%0') return countendreturn p