Help:Bots

From Celeste Wiki
Jump to navigation Jump to search

<languages /> Template:PD Help Page

<translate> A bot is a computer program that automatically retrieves or updates wiki pages when it is executed.</translate> <translate> In general, bots are used for repetitive maintenance tasks, whose volume and characteristics are too large to be performed manually by users.</translate>

<translate> 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 [[<tvar|1>Special:MyLanguage/Help:Sysops and permissions</>|admins]].

By default, bot edits are hidden in <tvar|1>Special:RecentChanges</>.

Framework and interface for bot development[edit source]

</translate> <translate> Bots do not access the wiki through the normal graphical user interface.</translate> <translate> MediaWiki has an API (Application Programming Interface) available for this purpose.</translate> <translate> An API is a protocol for standardized communication between two computer programs.</translate> <translate> Check <tvar|1>Template:Ll</> for more information.</translate>

<translate> To access a wiki through the API a bot must have a user account, which has been granted 'bot' [[<tvar|1>Special:MyLanguage/Help:Assigning permissions</>|permissions]].

pywikibot[edit source]

<tvar|5>Template:Ll</> 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 (<tvar|6>Template:Ll</>), adding some [[<tvar|7>Special:MyLanguage/Help:Links</>|wikilinks]] (<tvar|1>Template:Ll</>), moving old contents of [[<tvar|8>Special:MyLanguage/Help:Talk pages</>|talk pages]] to [[<tvar|9>Special:MyLanguage/Help:Subpages</>|subpages]] (<tvar|2>Template:Ll</>), editing [[<tvar|10>Special:MyLanguage/Help:Categories</>|categories]] (<tvar|3>Template:Ll</>), or managing [[<tvar|11>Special:MyLanguage/Help:Templates</>|templates]] (<tvar|4>Template:Ll</>).

wiki-java[edit source]

</translate> <translate> <tvar|url>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.</translate> <translate> The library also comes with simple, but powerful standalone bot methods that can be readily utilized by a programmer.</translate>

<translate>

Chris G's botclasses[edit source]

[[<tvar|1>Special:MyLanguage/Manual:Chris G's botclasses</>|Chris G's botclasses]] compose a PHP MediaWiki bot framework hosted at the toolserver.

Extension alternatives[edit source]

</translate>

  • Template:Ll - <translate> provides an alternative way to perform mass edits using regular expressions, through a special page in the wiki. Only admins can normally use this extension.</translate>
  • Template:Ll - <translate> another option.</translate>

<translate>

See also[edit source]

</translate>

[[Category:Help{{#translation:}}|Bots]]