Manual:langmemusage.php
MediaWiki version: | ≥ 1.8 |
MediaWiki file: langmemusage.php | |
---|---|
Location: | maintenance/language/ |
Source code: | master • 1.42.4 • 1.41.5 • 1.39.11 |
Classes: | LangMemUsage |
Details
editlangmemusage.php file is a maintenance script that tries to get the memory usage for each language file.
Options/Arguments
editThis script does not take any options or arguments.
Usage
editphp maintenance/run.php language/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.39.10 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.