Module:Talk archive/config
Jump to navigation
Jump to search
This is the configuration file for Module:Talk archive. This file can be edited to allow easy translation/porting of the module to other wikis.
The above documentation is transcluded from Module:Talk archive/config/doc.
Editors can experiment in this module's sandbox and testcases pages.
Subpages of this module.
Editors can experiment in this module's sandbox and testcases pages.
Subpages of this module.
-------------------------------------------------------------------------------
--
-- Configuration for Module:Talk archive
--
-------------------------------------------------------------------------------
local cfg = {}
-- ----------------------------------------------------------------------------
-- i18n
-- ----------------------------------------------------------------------------
cfg.i18n = {}
cfg.i18n.archive_prefix = 'Archive '
cfg.i18n.archive_image = 'Replacement filing cabinet.svg'
cfg.i18n.templates = {
message_box = 'Template:Message box',
}
cfg.i18n.Banner_Nav = {
title_blurb_period = 'This is an archive of past discussions for the period %s.',
title_blurb_noperiod = 'This is an archive of past discussions.',
text_blurb = [=['''Do not edit the contents of this page.''' If you wish to start a new discussion or revive an old one, please do so on the [[%s|current talk page]].]=],
link_text = 'Archive %s',
before_fmt = '← %s',
after_fmt = '%s →',
}
-- ----------------------------------------------------------------------------
-- Constants
-- ----------------------------------------------------------------------------
-- Wrapper templates
cfg.wrappers = {
talk_archive = {
'Template:Talk archive',
},
}
-- Maximum links to show before and after current archive link
cfg.nav_link_range = 3
return cfg