Manual:$wgEnableProfileInfo

From Linux Web Expert

Revision as of 04:14, 6 February 2021 by imported>Shirayuki (translation tweaks)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Profiling</translate>: $wgEnableProfileInfo
Controls the availability of profileinfo.php.
<translate> Introduced in version:</translate>1.1.0
<translate> Removed in version:</translate>1.35.0 (Gerrit change 545308; git #0da1ecfd)
<translate> Allowed values:</translate>(boolean)
<translate> Default value:</translate>false

Details

Controls the availability of profileinfo.php , which shows profiling data.

If set to true, profiling data will be stored in the profiling table inside the database. If you want to log profiling data, enable $wgProfiler['output'] = 'db' in your StartProfiler.php and run maintenance/update.php to create the profiling table. You can also set $wgProfiler['output'] to a different value in order to store/display profiling data differently. See Manual:Profiling for more information!

Example

$wgEnableProfileInfo = true; // Make profileinfo.php available

See also