Module:Format link: Difference between revisions

Jump to navigation Jump to search
Added extra condition to check if title object is null
(Tweak hotfix further to use isExternal instead of isLocal)
(Added extra condition to check if title object is null)
Line 150:
if catMissing and (mw.ustring.len(catMissing) > 0) then
local title = mw.title.new(parsed.page)
if title and (not title.isExternal) and (not title.exists) then
category = mw.ustring.format('[[Category:%s]]', catMissing)
end
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu