Manuel:$wgEnableProfileInfo

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgEnableProfileInfo and the translation is 8% complete.
Other languages:
English • ‎Nederlands • ‎français • ‎magyar • ‎polski • ‎português • ‎português do Brasil • ‎日本語
Profilage: $wgEnableProfileInfo
Controls the availability of profileinfo.php.
Introduit dans la version :1.1.0
Retiré dans la version :1.35.0 (Gerrit change 545308; git #0da1ecfd)
Valeurs autorisées :(boolean)
Valeur par défaut :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 Manuel:Profilage for more information!

Example

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

See also