Module:Automatic archive navigator/config

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Module documentation

Usage[edit]

This configuration module is used with Module:Automatic archive navigator.


--------------------------------------------------------------------------------
--             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 value of the "period" argument.
['blurb-period'] = "This is an '''archive''' " ..
	"of past discussions '''for the period $2'''.<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 talk page]].",
['blurb-noperiod'] = "This is an '''archive''' " ..
	"of 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 talk 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&nbsp;$1',

-- The default number of archive links to output.
['default-link-count'] = 7

}