Module:CleanName

local p = {}

function p.main local input = mw.getCurrentFrame.args[1] --local input = "nemesis (infinite dendrogram)" mw.logObject(input) local output = input:gsub(" ?%(.*%) ?","") mw.logObject(output) return output end return p