This is the module sandbox page for Module:Archive/config (diff). |
Usage
This configuration module is used with Module:Archive.
--------------------------------------------------------------------------------
-- Configuration for Module:Automatic archive navigator
--
-- This module contains configuration data for
-- [[Module:Automatic archive navigator]]. It can be used to easily translate the
-- module for use on other wikis, as well as changing settings like the default
-- archive prefix and the default link count.
--------------------------------------------------------------------------------
return {
--------------------------------------------------------------------------------
-- Blurb
--------------------------------------------------------------------------------
-- The blurbs to use for the archive banner. If the "period" argument is
-- specified, the "blurb-period" message is used; otherwise the "blurb-noperiod"
-- message is used.
-- $1 - the full page name of the current talk page (assumed to be the base
-- page of the archive pages.
-- $2 - the page under discussion (i.e. "Space" for "Talk:Space/Archive 1")
-- $3 - the value of the "period" argument.
-- $4 - the namespace of the current page.
['blurb-period'] = "This is an '''[[Help:Archiving a talk page|archive]]''' " ..
"of past discussions about $2, '''for the period $3'''.<br />'''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 [[$1|current $4 page]].",
['blurb-index'] = "This is an index of '''[[Help:Archiving a talk page|archived]]''' " ..
"past discussions. '''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 [[$1|current $4 page]].",
['blurb-noperiod'] = "This is an '''[[Help:Archiving a talk page|archive]]''' " ..
"of past discussions about $2. '''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 [[$1|current $4 page]].",
--------------------------------------------------------------------------------
-- Image
--------------------------------------------------------------------------------
-- The default icon for the archive banner.
['default-icon'] = 'Replacement filing cabinet.svg',
-- The image size, unless a custom image is specified with the "image"
-- parameter.
['image-size'] = '40x40px',
--------------------------------------------------------------------------------
-- Archive links
--------------------------------------------------------------------------------
-- The default prefix for archive pages on this wiki. This is the subpage text
-- minus the archive number itself. So if the full page name of a typical
-- archive was "Talk:France/Archive 12", the prefix would be "Archive ". This
-- message is used to detect whether the current page is an archive page.
['archive-prefix'] = 'Archive ',
-- The display value to use for long archive links. These are used if seven or
-- less links are output.
-- $1 - The archive number.
['archive-link-display'] = 'Archive $1',
-- The default number of archive links to output.
['default-link-count'] = 7
}