Line 207 of includes/media/SVG.php has:
$ok = mkdir( $tmpDir, 0771 ) && symlink( $srcPath, $lnPath );
But it makes things very confusing, not being explicitly what is the problem. I installed Mediawiki in a PHP hardened installation (Suhosin) with symlink() disabled and took hours to discover the problem. Please, make something like:
$ok = mkdir(...); if (!$ok) { hey user! no way creating that directory! } $ok = symlink(...); if (!$ok) { hey user! problem creating symlink. check your php configuration. }
Thanks!