Заработало, правда не сразу — пришлось подпилить:
1) Добавьте код в LocalSettings.php: $wgTmpDirectory = «$IP/images/temp»;
2) В файле includes/GlobalFunctions.php и заменить
Код:
2496 if( function_exists( 'sys_get_temp_dir' ) ) { 2497 return sys_get_temp_dir(); 2498 }
на
Код:
2496 if( function_exists( 'sys_get_temp_dir' ) ) { 2497 return ini_get('upload_tmp_dir'); 2498 }
(отличается строка 2497)