Conteúdo apagado Conteúdo adicionado
Guandalug (discussão | contribs)
Create userpage of my bot
(Sem diferenças)

Revisão das 06h49min de 1 de abril de 2010

About the Bot

The LinkFA - Bot has been written in PHP and tries to keep the usage of {{Link FA|xx}} and {{Lien BA|xx}} current.

If it's working, it has the following phases:

Init phase
Gather all articles that use a 'Link FA' or 'Link BA' template in those wikipedia-versions the bot should edit in one table. Check all featured - templates and categories from foreign wikipedias and gather the articles that are thus marked as featured in another table.
Check
For each article that holds a 'Link FA' or 'Link BA' template, check whether all Interwiki - linked articles are marked as "featured" (by checking whether they are in the table of featured articles) and set / remove the respective template (all in one go per article).
Search
For each featured article we gathered during init, try and check whether the remote article links to an article in one of the languages we work on. If so, and said article is not yet 'done' in the 'Check' step, that must be an unmarked and up to now unchecked article locally, so call a 'check on that article.

A more detailed description of the bot's work can be found here (or here (German))

Requirements for the bot to work properly

  • The excellency -templates and -categories of foreign wikis must be known and gives as links either in Templates or Categories, or the bot won't accept foreign "excellency" marks and dump the markup template.
  • The page to be updated locally must not be edit-protected with level 'sysop'.