SpecialSupportedLanguages Class Reference
[Special pages of Translate extensionStatistics]

Implements special page Special:SupportedLanguages. More...

List of all members.

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.

Detailed Description

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.


Constructor & Destructor Documentation

SpecialSupportedLanguages::__construct (  ) 

Definition at line 29 of file SpecialSupportedLanguages.php.


Member Function Documentation

SpecialSupportedLanguages::execute ( par  ) 

Definition at line 33 of file SpecialSupportedLanguages.php.

Here is the call graph for this function:

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().

Here is the call graph for this function:

SpecialSupportedLanguages::outputLanguageCloud ( names  )  [protected]

Definition at line 282 of file SpecialSupportedLanguages.php.

Referenced by execute().

Here is the call graph for this function:

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().


Member Data Documentation

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.


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