User:LinkFA-Bot
From Wikipedia, the free encyclopedia
This user ist a bot and is run by its owner Guandalug.
|
[edit] About the Bot
The LinkFA - Bot has been written in PHP and tries to keep the usage of {{Link FA|xx}} current.
If it's working, it has the following phases:
- Init phase
- Gather all articles that use the template here in the wikipedia, and all excellency - templates and categories from foreign wikipedias. Gather the articles that are thus marked excellent elsewhere.
- Check
- For each article that holds a 'Link FA' template, check whether all Interwiki - linked articles are marked as "excellent" (by checking whether they are known to us from the Init phase) and set / remove the respective {{Link FA|xx}} template (all in one go per article).
- Search
- For each remote article we gathered during init that we did not yet encounter as an "excellent interwiki link", try and check whether the remote article links to an article here. If so, 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
[edit] Requirements for the bot to work properly
- The excellency -templates and -categories of foreign wikis must be known and gives as Interwiki - 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'.