MediaWiki REL1_34
transstat.php File Reference

Statistics about the localisation. More...

Go to the source code of this file.

Functions

if(isset( $options['help'])) if(!isset($options[ 'output'])) showUsage ()
 Print a usage message.
 

Variables

switch( $options['output']) $languages = new Languages()
 
 $optionsWithArgs = [ 'output' ]
 
 $optionsWithoutArgs = [ 'help' ]
 
 $wgGeneralMessages = $languages->getGeneralMessages()
 
 $wgRequiredMessagesNumber = count( $wgGeneralMessages['required'] )
 

Detailed Description

Statistics about the localisation.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Author
Ævar Arnfjörð Bjarmason avara.nosp@m.b@gm.nosp@m.ail.c.nosp@m.om
Antoine Musso <hashar at free dot fr>

Output is posted from time to time on: https://www.mediawiki.org/wiki/Localisation_statistics

Definition in file transstat.php.

Function Documentation

◆ showUsage()

if(isset($options[ 'help'])) if(!isset( $options['output'])) showUsage ( )

Print a usage message.

Definition at line 46 of file transstat.php.

References print.

Variable Documentation

◆ $languages

◆ $optionsWithArgs

$optionsWithArgs = [ 'output' ]

Definition at line 29 of file transstat.php.

◆ $optionsWithoutArgs

$optionsWithoutArgs = [ 'help' ]

Definition at line 30 of file transstat.php.

◆ $wgGeneralMessages

$wgGeneralMessages = $languages->getGeneralMessages()

Definition at line 92 of file transstat.php.

◆ $wgRequiredMessagesNumber

$wgRequiredMessagesNumber = count( $wgGeneralMessages['required'] )

Definition at line 93 of file transstat.php.