Changes
Jump to navigation
Jump to search
change the rellink class to the new "hatnote" class, and update the comments
-- --
-- This module produces hatnote links and links to related articles. It --
-- implements the {{rellinkhatnote}} and {{format hatnotelink}} meta-templates, and includes ---- includes helper functions for other Lua hatnote modules to format hatnote links. --
--------------------------------------------------------------------------------
-- Makes a wikilink from the given link and display values. Links are escaped
-- with colons if necessary, and links to sections are detected and displayed
-- with " § " as a separator rather than the standard MediaWiki "#". Used in-- the {{format hatnote link}} template.
--------------------------------------------------------------------------------
checkType('_hatnote', 1, s, 'string')
checkType('_hatnote', 2, options, 'table', true)
local classes = {'rellinkhatnote'}
local extraclasses = options.extraclasses
local selfref = options.selfref