• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.215
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Do not archive until

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
File:Ambox warning yellow.svgThis 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.
File:Information icon4.svgThis 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.

This template works by placing a hidden HTML comment in the thread that contains a future date. The comment is invisible to users but visible to the archiving bots, and the bots will not archive the thread until that date is at least one archival period in the past. The comment can be seen when the page is edited, and looks like the following:
<!-- [[User:DoNotArchiveUntil]] 00:40 27 March 2026 (UTC) -->{{User:ClueBot III/DoNotArchiveUntil|1774572050}}
Where the date used is determined by the parameters entered into the template or close to ten years in the future if no parameters were specified.

Contents

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

Tools that respect the code

  • User:Equazcion/OneClickArchiver
  • MiszaBot (taken over by Lowercase sigmabot III)
  • Cobi's ClueBot III

Tools that do not respect the code

  • None known at this time.

Usage

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 days (close to 10 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|1=3650|2=hours}} - to prevent a thread from being archived for 3650 hours (close to 5 months).

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

Parameters

|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.

See also

  • {{Bump}}, a visible wrapper for this template
  • {{Pin section}}, another visible wrapper
  • v
  • t
  • e
Templates for archiving
  • Archiving (simple)
  • Archiving (technical)
Recommended
  • {{Archives}} (very configurable side box or banner for main talk page)
  • {{Automatic archive navigator}} (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)
  • Archy McArchface (one-click archiver script)
Side box
  • {{Archives}}
Headers
With
navigation
  • {{Annual archive}}
  • {{Archived annually}}
  • {{Archive navigation}}
  • {{Archive number}}
  • {{Automatic archive navigator}} (does not need parameter)
  • {{Archives by months}}
  • {{Month-year archive nav}}
  • {{Monthly archived talk}}
  • {{UserTalkArchive}}
  • {{Warning archive notice}}
Without
navigation
  • {{Archive}}
  • {{Archive index}}
  • {{Archivemainpage}}
  • {{Archiving}}
  • {{Talk archive notice with diff}}
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}}
  • {{Collapse bottom}}
  • {{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
  • Archy McArchface (one-click archiver script)
  • ClueBot III
    • {{User:ClueBot III/ArchiveNow}}
  • HBC Archive Indexerbot (Legobot)
  • lowercase sigmabot III (MiszaBot)
  • OneClickArchiver
  • {{Archive basics}}
  • {{subst:Bump}}
  • {{subst:Do not archive until}}
  • {{subst:Oca}}
  • {{subst:Pin section}}
  • {{subst:Setup auto archiving}}
  • Category 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 (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Do_not_archive_until&oldid=14667"
Categories:
  • Pages with broken file links
  • Intricate templates
  • Wikipedia templates to be automatically substituted
  • Wikipedia substituted templates
  • Archival templates
  • Talk namespace templates
Last edited on 3 December 2021, at 04:00

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 3 December 2021, at 04:00.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop