Thread:Project:Support desk/"MediaWiki does not function when magic quotes are enabled" error with magic quotes disabled/reply (3)

I personally doubt that the MediaWiki source code is wrong at that place. I now checked it anyway and it is correct.

The file includes/WebRequest.php, around line 60 checks for magic quotes:

if ( function_exists( 'get_magic_quotes_gpc' ) && get_magic_quotes_gpc ) { throw new MWException( "MediaWiki does not function when magic quotes are enabled." ); }

According to the PHP manual, get_magic_quotes_gpc only returns TRUE, if magic quotes are enabled.