Jump to content

Template:Talk header/miszaparse/doc

From Wikipedia, the free encyclopedia

Returns the value of a given User:MiszaBot/config parameter, if there is a validly formatted config on the page.

Usage

[edit]

{{Th/mp|item}}
{{Th/mp|item|page}}

Parameters

[edit]

Two positional parameters, one required:

|1= – This is a token indicating which MiszaBot config data item to return: bot, age, units, minthreadsleft (or min); (required).
|2= – Full pagename of the Talk page to search for Miszabot config params (optional; default: {{FULLPAGENAME}} ).

Examples

[edit]

Notes

[edit]

The value returned for param |bot= is currently hard-coded to 'Lowercase sigmabot III'. Other bots (MiszaBot, Legobot) are deactivated in favor of this one; parsing for Cluebot III is in development.

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

[edit]