InterlanguageFlags

InterlanguageFlags adds the country's flag next to the interlanguage links in the interwiki module.

Using CSS
Put the CSS code on your MediaWiki:Common.css at the very top, before anything else:

See Help:Including additional CSS and JS and Help:Including additional CSS and JS/technical for further help.

Note: some wikis don't import the MediaWiki:Common.css in the Oasis skin by default which then must it be imported in MediaWiki:Wikia.css to make it work in that skin. Or you can directly imported the code on both MediaWiki:Wikia.css and MediaWiki:Monobook.css. For more details, read this.

Using JS
Alternately, place this code on MediaWiki:Common.js:

Resources
The code uses images store on Wikimedia Commons.

Supported languages

 * CA
 * DE
 * EN
 * ES
 * FR
 * IT
 * JA
 * PL
 * PT
 * PT-BR
 * RU
 * ZH