Module:Archive/config
| This Lua module is used on approximately 346,000 pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
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.
-- $5 - this preposition changes depending on the namespace "about" by default
-- or "with" for user talk pages
['blurb-period'] = "This is an '''[[Help:Archiving a talk page|archive]]''' " ..
"of past discussions $5 [[$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 $5 [[$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]].",
['blurb-annual'] = "'''Do not edit this page.''' This is the " ..
"[[Help:Archiving_a_talk_page|archive]] of past discussions $5 [[$2]], " ..
"for the year $3. (Please direct any additional comments to the " ..
"[[$1|current $4 page]]) See the annual archives listed below:",
['blurb-noperiod'] = "This is an '''[[Help:Archiving a talk page|archive]]''' " ..
"of past discussions $5 [[$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]].",
--------------------------------------------------------------------------------
-- Prepositions
--------------------------------------------------------------------------------
-- Used in blurbs above. These change depending on namespace.
-- Depending on the blurb format in other languages, these can be translated
-- or ignored.
['namespace-prepositions'] = {
[2] = "with", -- User
[3] = "with", -- User talk
[4] = "on", -- Wikipedia
[12] = "on", -- Help
},
['preposition-default'] = "about",
--------------------------------------------------------------------------------
-- 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
}
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.