FANDOM


-- Various utility functions
 
local p = {}
 
-- return pagename without any disambiguation title
function p.corename(frame)
    local result = mw.ustring.gsub(mw.title.getCurrentTitle().subpageText, '%s%(.*', '')
    return result
end
 
return p
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+