Module:Redirect hatnote: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(fix the Module:Redirect syntax (will require an update to that module first))
Line 155:
else
mRedirect = require('Module:Redirect')
local target = mRedirect.maingetTarget(redirectredirectTitle)
local targetTitle = target and getTitle(target)
if targetTitle and not mw.title.equals(targetTitle, titleObj) then
category = '[[Category:Invalid redirects]]'
end