Jump to content
MediaWiki

Manual:langmemusage.php

From mediawiki.org
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
MediaWiki version:
≥ 1.8
MediaWiki file: langmemusage.php
Location: maintenance/language/
Source code: master1.45.11.44.31.43.6
Classes: LangMemUsage

Details

langmemusage.php file is a maintenance script that tries to get the memory usage for each language file.

Options/Arguments

This script does not take any options or arguments.

Usage

phpmaintenance/run.phplanguage/langmemusage
Terminal
$ php maintenance/run.php language/langmemusage
Base memory usage: 13464808
 ab: 3751448
 abs: 27424
 ace: 27128
 ady: 28696
 ady-cyrl: 28568
 aeb: 27848
 aeb-arab: 45920
 aeb-latn: 27936
 af: 29176
 ak: 27136
 aln: 27128
 gom-deva: 3079336
 gom-latn: 2661808
 gor: 2785160
 got: 2710408
 grc: 2754592
 gsw: 2790304
 he: 2887736
 hi: 3044832
 hif: 2707496
 zh-hans: 0
 zh-hant: 2701224
 zh-hk: 2729784
 zh-mo: 2766504
 zh-tw: 2734368
 zu: 2655584
 Total Usage: 833465200
In MediaWiki version 1.43.6 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

AltStyle によって変換されたページ (->オリジナル) /