Module:Excerpt/sandbox: Difference between revisions

Content deleted Content added
Replace custom getRedirectTarget function for mw.title.redirectTarget, since that doesn't seem to be an expensive function
No edit summary
Line 106:
if not title then return false, false end
 
local target = mw.title.redirectTarget(title)
if target then title = target end