Extension:PromotedInterlanguages

What can this extension do?
This extension provides the ability to append predefined CSS classes to interlanguage links that got promoted status (featured articles, good articles, featured portals...) in other languages. This extension associates promoted statuses to CSS classes, and adds a parser tag.

That extension is meant as an alternative to the Javascript hacks used on the Wikimedia projects to display golden stars next to the interlanguage links pointing to a featured article in a foreign language.

Usage
Assuming that a "FA" CSS class is defined and included by MediaWiki e.g.: and that the featured status is associated to the FA CSS class (see below), adding to an article will apply the FA CSS class to the fr: interlanguage links in that article.

Download instructions
Please cut and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php: