Implements special page Special:SupportedLanguages. More...
Public Member Functions | |
__construct () | |
execute ($par) | |
fetchTranslatorsPortal ($natives) | |
shuffle_assoc ($list) | |
Protected Member Functions | |
languageCloud () | |
fetchTranslatorsAuto () | |
outputLanguageCloud ($names) | |
makeUserList ($users, $editcounts, $lastedits) | |
getUserStats () | |
formatStyle ($styles) | |
preQueryUsers ($users) | |
getColorLegend () | |
Protected Attributes | |
$purge = false | |
Whether to skip and regenerate caches. | |
$period = 180 | |
Cutoff time for inactivity in days. |
Implements special page Special:SupportedLanguages.
The wiki administrator must define NS_PORTAL, otherwise this page does not work. This page displays a list of language portals for all portals corresponding with a language code defined for MediaWiki and a subpage called "translators". The subpage "translators" must contain the template [[:{{ns:template}}:User|User]], taking a user name as parameter.
Definition at line 22 of file SpecialSupportedLanguages.php.
SpecialSupportedLanguages::__construct | ( | ) |
Definition at line 29 of file SpecialSupportedLanguages.php.
SpecialSupportedLanguages::execute | ( | $ | par | ) |
Definition at line 33 of file SpecialSupportedLanguages.php.
SpecialSupportedLanguages::fetchTranslatorsAuto | ( | ) | [protected] |
Definition at line 199 of file SpecialSupportedLanguages.php.
Referenced by execute().
SpecialSupportedLanguages::fetchTranslatorsPortal | ( | $ | natives | ) |
Definition at line 235 of file SpecialSupportedLanguages.php.
Referenced by execute().
SpecialSupportedLanguages::formatStyle | ( | $ | styles | ) | [protected] |
Definition at line 385 of file SpecialSupportedLanguages.php.
Referenced by makeUserList().
SpecialSupportedLanguages::getColorLegend | ( | ) | [protected] |
Definition at line 420 of file SpecialSupportedLanguages.php.
Referenced by execute().
SpecialSupportedLanguages::getUserStats | ( | ) | [protected] |
Definition at line 358 of file SpecialSupportedLanguages.php.
Referenced by execute().
SpecialSupportedLanguages::languageCloud | ( | ) | [protected] |
Definition at line 166 of file SpecialSupportedLanguages.php.
Referenced by outputLanguageCloud().
SpecialSupportedLanguages::makeUserList | ( | $ | users, | |
$ | editcounts, | |||
$ | lastedits | |||
) | [protected] |
Definition at line 305 of file SpecialSupportedLanguages.php.
Referenced by execute().
SpecialSupportedLanguages::outputLanguageCloud | ( | $ | names | ) | [protected] |
Definition at line 282 of file SpecialSupportedLanguages.php.
Referenced by execute().
SpecialSupportedLanguages::preQueryUsers | ( | $ | users | ) | [protected] |
Definition at line 408 of file SpecialSupportedLanguages.php.
Referenced by execute().
SpecialSupportedLanguages::shuffle_assoc | ( | $ | list | ) |
Definition at line 394 of file SpecialSupportedLanguages.php.
Referenced by outputLanguageCloud().
SpecialSupportedLanguages::$period = 180 [protected] |
Cutoff time for inactivity in days.
Definition at line 27 of file SpecialSupportedLanguages.php.
Referenced by getColorLegend(), and makeUserList().
SpecialSupportedLanguages::$purge = false [protected] |
Whether to skip and regenerate caches.
Definition at line 24 of file SpecialSupportedLanguages.php.