Manual:Pywikibot/archivebot.py/setup/fa

The archivebot.py is a script to archive discussion pages. This document explains how to set up discussion pages on-wiki for the automatic archiving done by this bot. For a documentation on how to operate the bot, please see Manual:Pywikibot/archivebot.py.

نحوه تنظیم جهت یک صفحه بحث
This bot only processes pages that are explicitly marked by transcluding a marker template, and archives sections inactive for a specified duration. A commonly used marker template is. The template may have parameters described below. (Most of them are optional.)

For a section to be archived, it must be a level 2 section, marked with. It is possible to opt-out some sections: see the explanation below.

پارامترهای الگو
معنی پارامترهای الگو عبارتند از:

متغیرهایی برای الگوهای نام صفحه
در پارامتر  در قالب، متغیرهای زیر را می توان مورد استفاده قراردیرد.

چگونگی ممانعت از آرشیو
To prevent a section (thread) from being archived for a finite time, you can edit the section and insert a signature with a future timestamp. The bot will not archive the thread until that time. Make sure that the signature is well-formatted; it must include a user name and a date exactly in the same format as a proper signature, otherwise it will not be recognized by the bot.

You can block a thread from being archived effectively indefinitely, using a very distant future timestamp, such as " (UTC)".

To not confuse readers, the dummy signature may be written as a comment only with the dummy user name "DoNotArchiveUntil". Other comments will be ignored by the bot.

You might want to have on your wiki a substitutable template for this particular purpose. See English Wikipedia's template for an example: w:Template:DNAU.

جستارهای وابسته

 * w:Help:Archiving a talk page - most of what is written there is not specific to English Wikipedia.
 * w:User:MiszaBot/config