$group_logo_url = util_make_url("/plugins/mediawiki/wiki/" .
$group_unix_name . "/images/.wgLogo.png");
+/* As the cronjob creates images subdirs in project data only if the uploads are enabled, there are chances the upload may fail */
+if (! forge_get_config('enable_uploads', 'mediawiki')) {
+ $error_msg .= _("Mediawiki plugin's configuration may require to enable uploads ('enable_uploads'). Contact your admin.");
+}
+
if (getStringFromRequest("logo_submit")) {
$userfile = getUploadedFile('userfile');
$userfile_name = $userfile['name'];