Module:Archive/config: Difference between revisions

Content deleted Content added
m Removed protection from "Module:AutomaticArchiveNavigator/config": fix reason
moved sandbox changes live per talk page notes and TfD discussion; this allows the template to better handle annually archived pages
 
(10 intermediate revisions by 5 users not shown)
Line 1:
--------------------------------------------------------------------------------
-- Configuration for Module:AutomaticArchiveNavigatorAutomatic archive navigator
--
-- This module contains configuration data for
-- [[Module:AutomaticArchiveNavigatorAutomatic 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.
Line 19:
-- $1 - the full page name of the current talk page (assumed to be the base
-- page of the archive pages.
-- $2 - the valuepage ofunder thediscussion (i.e. "periodSpace" argument.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 '''$23'''.<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$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 talk$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
[5] = "on", -- Wikipedia talk
[12] = "on", -- Help
},
['preposition-default'] = "about",
 
 
--------------------------------------------------------------------------------