Hi there,
is there a ready to use way to prevent file upload without an assign licence?
We do not want preload some "common" licence but offer a blank choice and force an input (selection from the list).
Can we avoid source changes?
Uwe (Baumbach) U.Baumbach@web.de
__________________________________________________ GRATIS: Movie-FLAT. Jetzt freischalten! http://freemail.web.de/club/maxdome.htm/?mc=025557
Uwe Baumbach wrote:
Hi there,
is there a ready to use way to prevent file upload without an assign licence?
We do not want preload some "common" licence but offer a blank choice and force an input (selection from the list).
Well, you can provide a license-dropbox like the one used at commons: http://commons.wikimedia.org/wiki/Image:Commons-upload-screenshot.gif
Can we avoid source changes?
What do you mean? Blocking the image file from editing or the file for reuploading? Both should be possible (the later may require a small change in upload code). But the original text will be always shown... that's why wikis hava a history after all.
Actually, you don't need to modify the upload code to prevent people from uploading. MediaWiki has had a pair of upload permissions since 1.6: * upload - Allows for uploading new files * reupload - Allows for overwriting files * reupload-shared - Allows for uploading a new file even if a shared file under the same name already exists (Obviously only useful when using a Commons type system) To allow uploading of files, but not overwriting of them you would use:
$wgGroupPermissions['user' ]['upload'] = true; $wgGroupPermissions['user' ]['reupload'] = false; $wgGroupPermissions['user' ]['reupload-shared'] = false;
~Daniel Friesen(Dantman) of:
-The Gaiapedia (http://gaia.wikia.com) -Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG) -and Wiki-Tools.com (http://wiki-tools.com)
Platonides wrote:
Uwe Baumbach wrote:
Hi there,
is there a ready to use way to prevent file upload without an assign licence?
We do not want preload some "common" licence but offer a blank choice and force an input (selection from the list).
Well, you can provide a license-dropbox like the one used at commons: http://commons.wikimedia.org/wiki/Image:Commons-upload-screenshot.gif
Can we avoid source changes?
What do you mean? Blocking the image file from editing or the file for reuploading? Both should be possible (the later may require a small change in upload code). But the original text will be always shown... that's why wikis hava a history after all.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org