GroupStatictics Class Reference

List of all members.

Public Member Functions

 __construct ()

Public Attributes

 $mostSpokenLanguages
 Array of the most spoken languages in the world.
 $localisedWeights
 Variable with key-value pairs with a named index and an array of key-value pairs where the key is a MessageGroup ID and the value is a weight of the group in the sum of the values for all the groups in the array.
 $wikimediaCodeMap
 Code map to map localisation codes to Wikimedia project codes.

Detailed Description

Definition at line 23 of file groupStatistics.php.


Constructor & Destructor Documentation

GroupStatictics::__construct (  ) 

Definition at line 191 of file groupStatistics.php.


Member Data Documentation

GroupStatictics::$localisedWeights
Initial value:
 array(
        'wikimedia' => array(
            'core-0-mostused' => 40,
            'core' => 30,
            'ext-0-wikimedia' => 30
        ),
        'fundraiser' => array(
            'ext-di-di' => 16,
            'ext-di-pfpg' => 84,
        ),
        'mediawiki' => array(
            'core-0-mostused' => 30,
            'core' => 30,
            'ext-0-wikimedia' => 20,
            'ext-0-all' => 20
        )
    )

Variable with key-value pairs with a named index and an array of key-value pairs where the key is a MessageGroup ID and the value is a weight of the group in the sum of the values for all the groups in the array.

Definitions in this variable can be used to report weighted meta localisation scores for the 50 most spoken languages.

Todo:
Allow weighted reporting for all available languges.

Definition at line 102 of file groupStatistics.php.

GroupStatictics::$mostSpokenLanguages

Array of the most spoken languages in the world.

Source: http://stats.wikimedia.org/EN/Sitemap.htm.

Key value pairs of: [MediaWiki localisation code] => array( [position in top 50], [speakers in millions], [continent where localisation is spoken] )

Definition at line 35 of file groupStatistics.php.

GroupStatictics::$wikimediaCodeMap

Code map to map localisation codes to Wikimedia project codes.

Only exclusion and remapping is defined here. It is assumed that the first part of the localisation code is the WMF project name otherwise (zh-hans -> zh).

Definition at line 125 of file groupStatistics.php.


The documentation for this class was generated from the following file:
Generated on Tue Oct 29 00:00:46 2013 for MediaWiki Translate Extension by  doxygen 1.6.3