r50300 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50299‎ | r50300 | r50301 >
Date:07:27, 7 May 2009
Author:werdna
Status:ok
Tags:
Comment:
Remove StartProfiler.php, removed with no explanation in r50299, causing fatals on all installations.
Modified paths:
  • /trunk/phase3/StartProfiler.php (added) (history)

Diff [purge]

Index: trunk/phase3/StartProfiler.php
@@ -0,0 +1,22 @@
 2+<?php
 3+
 4+require_once( dirname(__FILE__).'/includes/ProfilerStub.php' );
 5+
 6+/**
 7+ * To use a profiler, delete the line above and add something like this:
 8+ *
 9+ * require_once( dirname(__FILE__).'/includes/Profiler.php' );
 10+ * $wgProfiler = new Profiler;
 11+ *
 12+ * Or for a sampling profiler:
 13+ * if ( !mt_rand( 0, 100 ) ) {
 14+ * require_once( dirname(__FILE__).'/includes/Profiler.php' );
 15+ * $wgProfiler = new Profiler;
 16+ * } else {
 17+ * require_once( dirname(__FILE__).'/includes/ProfilerStub.php' );
 18+ * }
 19+ *
 20+ * Configuration of the profiler output can be done in LocalSettings.php
 21+ */
 22+
 23+

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r50299ignore startprofiler.phpaaron03:46, 7 May 2009

Status & tagging log