• Home
  • Blog
  • About Us
  • Contact
Local City Guide
  • Français
  • Italiano
  • English
  • ...
  • Home
  • Blog
  • About Us
Contact


Template documentation[view] [edit] [history] [purge]

This template is used by User:ArchiverBot, which runs approximately once per day, to archive old discussion pages.

IMPORTANT: Make sure to establish consensus before using this template on any page other than your user talk page. Note that in some cases archiving is better handled manually than with a bot, so a discussion is required prior to enabling automatic archiving.

Usage

[edit]

See mw:Manual:Pywikibot/archivebot.py/setup for complete details on how this template can be used. Parameters that will most often be used on Wikivoyage include:

  • archive - The pattern corresponding to where threads will be archived. For simple cases this might simply be a page name: "Wikivoyage:User ban nominations/Archives". In more complex cases the pattern might be based on the date: "Wikivoyage:Tourist Office/Archives/%(year)d/%(monthname)s".
  • algo - The maximum age of a thread before it can be archived. Note that this parameter corresponds to the last time a comment was added to a thread, not how long it has been since the thread was created. A value such as "old(28d)" would indicate that threads must have been inactive for 28 days before they will be archived.
  • minthreadsleft - The minimum number of threads to leave on a page.
  • minthreadstoarchive - The minimum number of threads to archive at once.
  • archiveheader - When new archive pages are created, this content will be placed at the top of the new page.

Example

[edit]

The following is an example showing usage of this template to archive old threads on the Wikivoyage:Tourist Office page:

{{auto archiving |archive             = Wikivoyage:Tourist Office/Archives/%(year)d/%(monthname)s |algo                = old(14d) |minthreadsleft      = 2 |minthreadstoarchive = 1 |archiveheader       = {{talk archive}} }} 
The above documentation is transcluded from Template:Auto archiving/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://en.wikivoyage.org/w/index.php?title=Template:Auto_archiving&oldid=4278456"


Explore the world

newyork

United states

New York

Tokyo

Japan

Tokyo

Singapo

Singapore

Singapore

barca

Spain

Barca

2022 © Local City Guide. All rights reserved.

Privacy Policy | Terms of Service