Extension:LanguageTag

The LanguageTag extension extends mediawiki with Language Tag's. It can be used on a per-page basis. Installed and activated it will parse XML languge tags, like text and display it only if the user language is english. For example: This is some text in English. It will only be visible for users in english locale. Dies ist ein Deutscher text. - That is a German text. Ez a wikimedia magyar hangja. Írásban. If the user Language does not match, the extension will include the text in the html page, as a comment.

Installation
put languageTag.php and LanguageTag.body.php to the extensions/LanguageTag folder. LanguageTag.php LanguageTag.body.php

Configuration parameters
LocalSettings.php needs these lines. Adjust that array to set what language tag's should be parsed.