Difference between revisions of "Module:Common"

Jump to navigation Jump to search
2 bytes added ,  18:59, 7 February 2024
no edit summary
 
Line 33: Line 33:
local disambig = string.find(title, '%(')
local disambig = string.find(title, '%(')
if disambig then
if disambig then
title = title:gsub('(.*)%(.-%)', '%1')
title = title:gsub('(.*)%s%(.-%)', '%1')
end
end

Navigation menu