Module:Hatnote: Difference between revisions

29 bytes added ,  7 years ago
Add navigation-not-searchable class per request (also see T164781)
(Non-breaking space after "§" in _formatLink() to match Module:Section link; might not be a bad idea to require() that module but this is a good start)
(Add navigation-not-searchable class per request (also see T164781))
Line 204:
checkType('_hatnote', 2, options, 'table', true)
options = options or {}
local classes = {'hatnote', 'navigation-not-searchable'}
local extraclasses = options.extraclasses
local selfref = options.selfref
Anonymous user