Help:رباتها
![]() |
توجه: هنگامی که شما این برگه را ویرایش کنید، در واقع شما توافق کردهاید که براساس کریتیو کامانز ۰ با ما همکاری میکنید. برای دادههای بیشتر
برگهٔ راهنما برای دامنههای عمومی را نگاه کنید. |
![]() |
ربات یک برنامۀ رایانهای است که برگههای ویکی را به صورت خودکار بهروزرسانی و بازبینی میکند. In general, bots are used for repetitive maintenance tasks, whose volume and characteristics are too large to be performed manually by users.
Developing and executing bots is normally outside the role of normal users, requires programming experience and must be done in coordination with the wiki's admins.
به صورت معمول، ویرایشهای ربات در Special:RecentChanges پنهان هستند.
چارچوبها و رابطهای کاربری برای توسعهدهندگان رباتها
رباتها از طریق رابط کاربری عادی گرافیکی به ویکی دسترسی پیدا نمیکنند. مدیاویکی دارای یک API (رابط برنامهنویسی برنامه) برای این کار است. API پروتكلی برای ارتباط استاندارد بین دو برنامهٔ رایانهای است. برای اطلاعات بیشتر API:Client code را بررسی کنید.
To access a wiki through the API a bot must have a user account, which has been granted 'bot' permissions.
pywikibot
Pywikibot provides a framework for the development of bots, which are commonly used to perform maintenance tasks such as adding a footer to some categorized pages (add_text.py ), adding some wikilinks (replace.py ), moving old contents of talk pages to subpages (archivebot.py ), editing categories (category.py ), or managing templates (template.py ).
wiki-java
wiki-java is a lightweight Java framework for bot/application development and can be used to perform various tasks, such as uploading files, adding text to articles, parsing templates, basic I/O, etc. The library also comes with simple, but powerful standalone bot methods that can be readily utilized by a programmer.
بوتکلاسهای Chris G
Chris G's botclasses compose a PHP MediaWiki bot framework hosted at the toolserver.
افزونههای جایگزین
- Extension:MassEditRegex - روشی جایگزین برای انجام ویرایشهای گسترده با استفاده از عبارات ساختارمند، از طریق یک برگهٔ ویژه در ویکی فراهم میکند. فقط مدیران بهطور معمول میتوانند از این افزونه استفاده کنند.
- Extension:ReplaceText - گزینهای دیگر.