1,124
edits
Line 32: | Line 32: | ||
mw.log(title) | mw.log(title) | ||
local disambig = string.find(title, '%(') | local disambig = string.find(title, '%(') | ||
if | if disambig then | ||
title = title:gsub('(.*)%(.-%)', '%1') | |||
end | end | ||
return title | return title | ||
end | end |