Module:Documentation: Difference between revisions
Bypass redirects in links at header
imported>Southparkfan m (16 revisions imported: importing all languages) |
(Bypass redirects in links at header) |
||
Line 483: | Line 483: | ||
if not title or not docTitle then | if not title or not docTitle then | ||
return nil | return nil | ||
end | |||
if docTitle.isRedirect then | |||
docTitle = docTitle.redirectTarget | |||
end | end | ||