Template:Talk header/archivebotparse/doc

This is the current revision of this page, as edited by imported>Mathglot at 02:34, 20 March 2024 (→‎Examples: Add, for Sigmabot: minkeepthreads,minthreadstoarchive, for Cluebot: minarchthreads, maxkeepbytes.). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns the value of a given archive bot parameter, if there is a validly formatted Misza or Cluebot config on the page.

Usage

{{Th/abp|item}}
{{Th/abp|item|page}}

Parameters

Two positional parameters, one required:

|1= – Token specifying which archiving item is needed; one of: bot, age, units, minthreadsleft (alias: minkeepthreads, min).
|2= – Full pagename of the Talk page to search for archival bot config params (default: {{FULLPAGENAME}} ).

Examples

Examples for a Talk page using config file User:MiszaBot/config:

Examples for a Talk page using config file User:ClueBot III/ArchiveThis:

  • See this example for Talk:2022 via ExpandTemplates, with only one param in the context of FULLPAGENAME = Talk:2022.


Notes

The second parameter is mostly for testing; the template is designed to pick up the config from the page that the Template Talk header is on, so should never be needed in normal use. Perhaps it could become useful for comparative analyses of how different pages employ archiving.

Testing