Extension:UserMessageFunction

The UserMessageFunction extension provides a method to present a string of text selected from a set of translation pages in the user language which is set in the user's preferences. It works in a manner similar to the magicword, but it is available not only for administrators but for users.

Installation
  Copy php code below to .  Configure LocalSettings.php to add new namespace for user messages according to Manual:Using custom namespaces as below. define( 'NS_MESSAGE', 120 ); # set the appropriate namespace number for your wiki. $wgExtraNamespaces[NS_MESSAGE]  = 'Message'; $wgExtraNamespaces[NS_MESSAGE+1] = 'Message_talk'; $wgNamespacesWithSubpages[NS_MESSAGE] = true;   Add the following line to the bottom of LocalSetting.php.

If Semantic-MediaWiki extension has been installed: require_once( "$IP/extensions/UserMessageFunction/UserMessageFunction.php" ); $wgUMFEnableAnnotation = true; If Semantic-MediaWiki extension has not been installed: require_once( "$IP/extensions/UserMessageFunction/UserMessageFunction.php" );   Installation can now be verified through Special:Version of your wiki. 

Configuration
The table below explains UserMessageFunction settings and their default values.

Requirements
The UserMessageFunction extension requires
 * MediaWiki 1.16 or above
 * ParserFunctions extension

It should work on earlier versions of MediaWiki but they doesn't validated yet. Your feedback is appreciated.

Semantic MediaWiki and Semantic Forms extensions are not essential, but recommended strongly to manage messages. You can see a case study of dictionaries on our development site.