Public Member Functions | |
execute () | |
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. | |
Definition at line 28 of file groupStatistics.php.
GroupStatistics::__construct | ( | ) |
Definition at line 194 of file groupStatistics.php.
GroupStatistics::execute | ( | ) |
Definition at line 277 of file groupStatistics.php.
GroupStatistics::$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.
Definitions in this variable can be used to report weighted meta localisation scores for the 50 most spoken languages.
Definition at line 106 of file groupStatistics.php.
GroupStatistics::$mostSpokenLanguages |
Array of the most spoken languages in the world.
Source: https://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 40 of file groupStatistics.php.
GroupStatistics::$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 128 of file groupStatistics.php.