Commit 4a56b8e9 authored by Addshore's avatar Addshore 🏄
Browse files

Merge branch 'fixSegfault' into 'main'

Fix segfault. Don't set xdebug.var_display_max settings

See merge request releng/cli!9
parents 1e141ac9 c9d6f95d
......@@ -2,7 +2,15 @@
## 1.0.0 (Work in progress)
...
## [https://github.com/addshore/mwcli/releases/tag/v0.1.0-dev-addshore.20210907.1 v0.1.0-dev-addshore.20210907.1]
* Enable updates from releases.wikimedia.org
* Fix segfaults caused by xdebug and `xdebug.var_display_max_` -1 values. ([phabricator](https://phabricator.wikimedia.org/T288363))
* MediaWiki no longer has `ini_set( 'xdebug.var_display_max_depth', -1 );` set
* MediaWiki no longer has `ini_set( 'xdebug.var_display_max_children', -1 );` set
* MediaWiki no longer has `ini_set( 'xdebug.var_display_max_data', -1 );` set
## [https://github.com/addshore/mwcli/releases/tag/v0.1.0-dev-addshore.20210806.1 v0.1.0-dev-addshore.20210806.1]
......
......@@ -189,10 +189,6 @@ $wgUploadPath = "{$wgScriptPath}/images/docker/{$dockerDb}";
$dockerLogDirectory = "/var/log/mediawiki";
$wgDebugLogFile = "$dockerLogDirectory/debug.log";
ini_set( 'xdebug.var_display_max_depth', -1 );
ini_set( 'xdebug.var_display_max_children', -1 );
ini_set( 'xdebug.var_display_max_data', -1 );
error_reporting( -1 );
ini_set( 'display_errors', 1 );
$wgShowExceptionDetails = true;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment