MediaWiki REL1_33
DevelopmentSettings.php
Go to the documentation of this file.
1<?php
20// Enable showing of errors
21error_reporting( -1 );
22ini_set( 'display_errors', 1 );
23
30
31// Use of wfWarn() should cause tests to fail
33
34// Enable showing of errors
36$wgShowHostnames = true;
37$wgDebugRawPage = true; // T49960
38
39// Enable MariaDB/MySQL strict mode
40$wgSQLMode = 'TRADITIONAL';
41
42// Enable log files
43$logDir = getenv( 'MW_LOG_DIR' );
44if ( $logDir ) {
45 if ( $wgCommandLineMode ) {
46 $wgDebugLogFile = "$logDir/mw-debug-cli.log";
47 } else {
48 $wgDebugLogFile = "$logDir/mw-debug-www.log";
49 }
50 $wgDBerrorLog = "$logDir/mw-dberror.log";
51 $wgDebugLogGroups['ratelimit'] = "$logDir/mw-ratelimit.log";
52 $wgDebugLogGroups['exception'] = "$logDir/mw-exception.log";
53 $wgDebugLogGroups['error'] = "$logDir/mw-error.log";
54}
55unset( $logDir );
56
57// Disable rate-limiting
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
global $wgDebugLogGroups
global $wgDebugTimestamps
global $wgShowHostnames
global $wgDebugLogFile
global $wgCommandLineMode
global $wgDBerrorLog
global $wgDebugComments
global $wgShowExceptionDetails
global $wgDebugRawPage
global $wgDebugDumpSql
global $wgDevelopmentWarnings
Debugging: MediaWiki.