User:LincolnBot/archiveconfig: Difference between revisions

From Wikimedia Foundation Governance Wiki
Content deleted Content added
Created page with "{{#if:{{{key|}}}|Category:Pages archived using a key|{{#ifeq:{{#invoke:String|find|source={{{archive|}}}|target={{#titleparts:{{FULLPAGENAME}}}}/}}|1|<nowiki />|<includeonly>Category:Pages where archive parameter is not a subpage</includeonly>}}}}"
Tag: 2017 source edit
 
No edit summary
Tag: 2017 source edit
Line 1: Line 1:
{{#if:{{{key|}}}|[[Category:Pages archived using a key]]|{{#ifeq:{{#invoke:String|find|source={{{archive|}}}|target={{#titleparts:{{FULLPAGENAME}}}}/}}|1|<nowiki />|<includeonly>[[Category:Pages where archive parameter is not a subpage]]</includeonly>}}}}
{{#if:{{{key|}}}|[[Category:Pages archived using a key]]|{{#ifeq:{{#invoke:String|find|source={{{archive|}}}|target={{#titleparts:{{FULLPAGENAME}}}}/}}|1|<nowiki />|<includeonly>[[Category:Pages where archive parameter is not a subpage]]</includeonly>}}}}<noinlcude>{{documentation|1=User:LincolnBot/Archives}}</noinclude>

Revision as of 05:46, 14 October 2023

<noinlcude>

Documentation

Usage

To use User:LincolnBot to archive talk pages, add this template code to the page:

{{User:LincolnBot/archiveconfig
|archive = {{safesubst:FULLPAGENAME}}/Archive %(counter)d
|algo = old(180d)
|counter = 1
|maxarchivesize = 150K
|archiveheader = {{talk archive}}
|minthreadstoarchive = 1
|minthreadsleft = 3
}}

Recommendations

High traffic or active policy pages should have a minthreadsleft setting of at least "3".

Talk pages for pages redirected to other sites or wikis should have a minthreadsleft setting of "0".

All other pages should have a minthreadsleft setting of at least "2".