Jump to content
MediaWiki

Manual:langmemusage.php

From mediawiki.org
MediaWiki version:
≥ 1.8
MediaWiki file: langmemusage.php
Location: maintenance/language/
Source code: master1.43.11.42.61.39.12
Classes: LangMemUsage

Details

[edit ]

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

Options/Arguments

[edit ]

This script does not take any options or arguments.

Usage

[edit ]
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.39.12 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

[edit ]

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