Manual:profileinfo.php

From MediaWiki.org
Jump to: navigation, search
MediaWiki File: profileinfo.php
Location: /
Source code:

HEAD1.19.0rc1
1.19.01.18.3

Classes: None


[edit] Details

Allow users to see the profiling information that are stored in the database.

To save the profiling information in the database (required to use this script), you have to modify StartProfiler.php to use the Profiler class and not the stub profiler which is enabled by default. You will also need to set $wgProfileToDatabase to true in LocalSettings.php to force the profiler to save the informations in the database and apply the maintenance/archives/patch-profiling.sql patch to the database.

To enable the profileinfo.php itself, you'll need to create the AdminSettings.php file (see AdminSettings.sample for more information) and set $wgEnableProfileInfo to true in that file. See also How to debug#Profiling.

Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox