User:LinkFA-Bot

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

User:LinkFA-Bot

About the Bot

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

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

Init phase
Gather all articles that use a 'Link FA' 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' 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 {{Link FA|xx}} 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 work can be found here

Requirements for the bot to work properly

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

Frequently asked questions

Why did the bot delete the 'Link FA' markup on Article XY?
There's a couple of possible answers to that:
  • The article at the other end of the interwiki link is not a featured article, but a featured portal or a featured list - those don't get marked with the 'Link FA' template, or the article isn't even "featured" but just good.
  • At the time the bot checked the list of 'featured articles' on the other wiki, that article wasn't marked (for whatever reason)
  • The bot didn't know/recognize the "Featured" template used in the remote article
Article XYZ is featured for a while now, why didn't the bot add the markup yet?
New markups (introducing {{Link FA|..}} to pages that don't have one) only happens when the page in question is linked from a 'featured' article on a remote wiki and already links back to that article. Building up the interwiki link net is something this bot does not participate in.

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.