• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Do not archive until/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Do not archive until
This is the template sandbox page for Template:Do not archive until (diff).
Template documentation[view] [edit] [history] [purge]
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here.
Shortcut
  • {{subst:DNAUTemplate:DNAU}}
This template should always be substituted (i.e., use {{subst:Do not archive until}}). Any accidental transclusions will be automatically substituted by a bot.

Use this template to prevent automatic (bot) archival of a given thread, either semi-permanently or for a specified number of days. Conventionally this template is used at the top of the thread, just under the header, but it may be placed anywhere in the thread. Please set an expiry date in days with the first unnamed parameter, such as |1=30 for 30 days. If no value is specified, the default expiry is 3,560 days (ten years).

This template places an HTML comment that contains a future date in the talk thread. The comment is invisible to readers when rendered from HTML to the viewable page by a web browser, but visible to archiving bots who parse through the code when 'reading' a page. The bots will not archive a thread until the most recent signed comment's date is at least one archival period in the past. Therefore, the thread will only be archived one archival period after the future date in the HTML comment. This comment can be seen when the page is edited with the source and visual editors, and looks like the following:

<!-- [[User:DoNotArchiveUntil]] 22:45 29 August 2035 (UTC) -->{{User:ClueBot III/DoNotArchiveUntil|2072040355}}

The date is determined by the parameters entered into the template.

Contents

  • 1 Usage
  • 2 Parameters
  • 3 Tool support
    • 3.1 Tools that respect the code
    • 3.2 Tools that do not respect the code
  • 4 See also

Usage

edit

This template must be substituted to work.

This template takes two parameters, both optional.

Use the first to specify the number of days to prevent the thread from archiving. If the parameter is omitted, the template will set the thread to archive in 3650 units (which for the default unit of "days" is close to 10 years, but not exactly due to leap years). Use the second to specify a different unit than days. To use this template, type in the following:

  • {{subst:DNAU}} – to prevent a thread from being archived for a very long time.
  • {{subst:DNAU|200}} – to prevent a thread from being archived for 200 days.
  • {{subst:DNAU|47|weeks}} – to prevent a thread from being archived for 47 weeks.
  • {{subst:DNAU|2=hours}} – to prevent a thread from being archived for 3650 hours (close to 5 months).
  • {{subst:DNAU|1=10000|2=mins}} – to prevent a thread from being archived for 10000 minutes (almost 7 days).

Since not all pages are archived daily, the parameter should be read as the minimum number of days before thread is archived.

Parameters

edit
|1=
first unnamed parameter: number of units until autoarchival (default is 3650)
|2=,
second unnamed parameter: type of unit (default is 'days'). All relative PHP unit formats are acceptable: 'sec', 'second', 'min', 'minute', 'hour', 'day', 'week', 'fortnight', 'month', 'year', and their respective plurals 'secs', 'seconds' etc.

Tool support

edit

Tools that respect the code

edit
  • User:Elli/OneClickArchiver
  • MiszaBot (replaced by Lowercase sigmabot III)
  • NaomiAmethyst's ClueBot III
  • User:Andrybak/Scripts/Archiver

Tools that do not respect the code

edit
  • unknown

See also

edit
  • {{Bump}}, a visible wrapper for this template
  • {{Pin section}}, another visible wrapper
  • Wikipedia:Don't archive or hat a thread that has ongoing discussion
  • v
  • t
  • e
Templates for archiving
  • Archiving (simple)
  • Archiving (technical)
  • Choosing the right bot
Recommended
  • {{Archives}} (very configurable side box or banner for main talk page)
  • {{Archive}} (banner placed on archive pages with navigation)
  • {{Talk header}} (banner with talk page guidelines and archives)
  • {{Archive top}} / {{Atop}} (archives/closes discussion)
  • lowercase sigmabot III (MiszaBot) (most popular auto archiving bot) {{subst:Setup auto archiving}} (quick setup script)
  • Wikipedia:One click archiving (archiver scripts)
Headers
With
navigation
  • {{Annual archive}}
  • {{Archived annually}}
  • {{Archive}} (does not need parameter)
  • {{Archives by months}}
  • {{Month-year archive nav}}
  • {{Monthly archived talk}}
Without
navigation
  • {{Archiving}}
With
search
  • {{Talk header}} (contains an automatically appearing archive search box and nav)
Content
formatting
  • {{Archive top}} / {{atop}}
  • {{Archive top green}} / {{atopg}}
  • {{Archive top red}} / {{atopr}}
  • {{Archive top yellow}} / {{atopy}}
  • {{Archive bottom}} / {{abot}}
  • {{Closed rfc top}}
  • {{Collapse}}
  • {{Collapse top}} / {{cot}}
  • {{Collapse bottom}} / {{cob}}
  • {{Collapse AI top}} / {{cait}}
  • {{Hidden archive top}} / {{hat}}
  • {{Hidden archive bottom}} / {{hab}}
  • {{Poll top}}
  • {{Poll bottom}}
Lists
  • {{Archive list}} (numbered archives usually the default)
  • {{Archive list alpha}}
  • {{Monthly archive list}}
  • {{Yearly archive list}}
Discussion
  • {{Archive request}}
  • {{Please archive}}
  • {{uw-archive}}
Automatic
archiving
systems
lowercase
sigmabot III

(MiszaBot)
  • {{subst:Setup auto archiving}}
  • {{User:MiszaBot/config}}
ClueBot III
  • {{subst:Setup cluebot archiving}}
  • {{subst:Archive now}}
  • {{User:ClueBot III/ArchiveThis}}
other
  • HBC Archive Indexerbot (Legobot)
general
  • {{Archive basics}}
  • {{subst:Bump}}
  • {{subst:Do not archive until}}
  • {{subst:Pin section}}
  •  Category:Archival templates
The above documentation is transcluded from Template:Do not archive until/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Do_not_archive_until/sandbox&oldid=1140627572"
Last edited on 21 February 2023, at 00:20

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 21 February 2023, at 00:20 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop