From c1f9b1f7b1b77776192048005dcc66dcf3df2bfb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 27 Dec 2014 15:41:37 +0100 Subject: Update to MediaWiki 1.24.1 --- StartProfiler.sample | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'StartProfiler.sample') diff --git a/StartProfiler.sample b/StartProfiler.sample index db5e0ff9..d9b52884 100644 --- a/StartProfiler.sample +++ b/StartProfiler.sample @@ -2,13 +2,22 @@ /** * 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'; * } -- cgit v1.2.3-54-g00ecf