Module:See also: Difference between revisions

Removed altphrase option and non-CamelCase aliases
m (1 revision imported: categories)
(Removed altphrase option and non-CamelCase aliases)
Line 31:
end
local options = {
altphrase = args.altphrase,
selfref = args.selfref
}
return p._seealso_seeAlso(pages, options)
end
 
Line 41 ⟶ 40:
checkType('_seeAlso', 2, options, 'table', true)
options = options or {}
local phrase = options.altphrase or 'See also'
local list = mHatlist.andList(args, true)
local text = phrase .string.format('See 'also: %s' .., list)
 
-- Pass options through.
local hnOptions = {selfref = options.selfref}
selfref = options.selfref
 
}
return mHatnote._hatnote(text, hnOptions)
end
 
--temporary aliases to move to CamelCase
p.seealso = p.seeAlso
p._seealso = p._seeAlso
 
return p
Anonymous user