/**
* To use a profiler, copy this file to StartProfiler.php,
- * and add something like this:
+ * and add either:
*
- * $wgProfiler['class'] = 'Profiler';
+ * // Does not support the debugging toolbar
+ * // Stores profiling information in the database
+ * // Requires running maintenance/archives/patch-profiling.sql
+ * $wgProfiler['class'] = 'ProfilerSimpleDB'
+ *
+ * or:
+ *
+ * // Supports the debugging toolbar
+ * // Does not store profiling information in the database
+ * $wgProfiler['class'] = 'ProfilerStandard';
*
* Or for a sampling profiler:
* if ( !mt_rand( 0, 100 ) ) {
- * $wgProfiler['class'] = 'Profiler';
+ * $wgProfiler['class'] = 'ProfilerSimpleDB';
* } else {
* $wgProfiler['class'] = 'ProfilerStub';
* }
To enable the profileinfo.php itself, you'll need to set $wgDBadminuser
and $wgDBadminpassword in your LocalSettings.php, as well as $wgEnableProfileInfo
- See also https://www.mediawiki.org/wiki/How_to_debug#Profiling.
+ See also https://www.mediawiki.org/wiki/Manual:Profiling .
thumb.php
Script used to resize images if it is configured to be done when the web