$wgRightsText = NULL;
$wgRightsIcon = NULL;
+# Set this to true if you want detailed copyright information forms on Upload.
+$wgUseCopyrightUpload = false;
+
+# Set this to false if you want to disable checking that detailed
+# copyright information values are not empty.
+$wgCheckCopyrightUpload = true;
+
+
# Set this to false to avoid forcing the first letter of links
# to capitals. WARNING: may break links! This makes links
# COMPLETELY case-sensitive. Links appearing with a capital at
global $wgUser, $wgOut, $wgLang;
global $wgUploadDirectory;
global $wgSavedFile, $wgUploadOldVersion;
- global $wgUseCopyrightUpload;
+ global $wgUseCopyrightUpload, $wgCheckCopyrightUpload;
global $wgCheckFileExtensions, $wgStrictFileExtensions;
global $wgFileExtensions, $wgFileBlacklist, $wgUploadSizeWarning;
if ( $wgUseCopyrightUpload ) {
$this->mUploadAffirm = 1;
- if ( trim ( $this->mUploadCopyStatus ) == "" || trim ( $this->mUploadSource ) == "" ) {
+ if ($wgCheckCopyrightUpload &&
+ (trim ( $this->mUploadCopyStatus ) == "" || trim ( $this->mUploadSource ) == "" )) {
$this->mUploadAffirm = 0;
}
}