EBernhardson (WMF) has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/63240


Change subject: Sample debugging configuration for MediaWiki
......................................................................

Sample debugging configuration for MediaWiki

Change-Id: I1340609deafec14d6c2a522e6ff4e08a89f2811f
---
A settings/20-Debugging.php
1 file changed, 18 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant 
refs/changes/40/63240/1

diff --git a/settings/20-Debugging.php b/settings/20-Debugging.php
new file mode 100644
index 0000000..ac2b8fa
--- /dev/null
+++ b/settings/20-Debugging.php
@@ -0,0 +1,18 @@
+<?php
+
+// For more info:
+// http://www.mediawiki.org/wiki/Manual:How_to_debug
+
+error_reporting(-1);
+ini_set('display_errors', 1);
+
+$wgShowExceptionDetails = true;
+$wgDebugToolbar = true;
+$wgShowDebug = FALSE;
+
+$wgShowSQLErrors = false;
+$wgDebugDumpSQL = false;
+$wgShowDBErrorBacktrace = false;
+
+$wgDebugLogFile = __DIR__ . '/../logs/mediawiki-debug.log';
+

-- 
To view, visit https://gerrit.wikimedia.org/r/63240
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1340609deafec14d6c2a522e6ff4e08a89f2811f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: EBernhardson (WMF) <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to