Due to popular demand (and my general dislike of interaction between image changes and caching, plus a rash of vandalism of a certain type) I've added two new permission keys to limit uploads that overwrite existing images.
Disabling the 'reupload' right will prevent any upload of a file which already is present, either locally or on the shared repository (Commons).
Disabling the 'reupload-shared' right will prevent overwrites of images which are present on the shared repository but _not_ on the local wiki. (A pre-existing local image overrides the Commons image.)
For fun I've set the default message to display a thumbnail of the conflicting image on the error page like so: http://upload.wikimedia.org/wikipedia/meta/3/3f/Upload_restrictions.png
Currently, reupload-shared is set to off for regular users on all Wikimedia wikis, but the general reupload right is left on so local images can be overwritten (and images on Commons can still be overwritten there).
The message can be customized/localized at [[MediaWiki:Fileexists-forbidden]] (for local images) and [[MediaWiki:Fileexists-shared-forbidden]] (for Commons images)
-- brion vibber (brion @ pobox.com)
Brion, I would be interested:
how is this related to ( or a solution of ) http://bugzilla.wikipedia.org/show_bug.cgi?id=2497 Admins ought to be able to upload any file
I think, this bugzilla could be closed (if your new permission keys are correspondingly applied to the group sysop). Tom
Brion Vibber schrieb:
Due to popular demand (and my general dislike of interaction between image changes and caching, plus a rash of vandalism of a certain type) I've added two new permission keys to limit uploads that overwrite existing images.
Disabling the 'reupload' right will prevent any upload of a file which already is present, either locally or on the shared repository (Commons).
Disabling the 'reupload-shared' right will prevent overwrites of images which are present on the shared repository but _not_ on the local wiki. (A pre-existing local image overrides the Commons image.)
For fun I've set the default message to display a thumbnail of the conflicting image on the error page like so: http://upload.wikimedia.org/wikipedia/meta/3/3f/Upload_restrictions.png
Currently, reupload-shared is set to off for regular users on all Wikimedia wikis, but the general reupload right is left on so local images can be overwritten (and images on Commons can still be overwritten there).
The message can be customized/localized at [[MediaWiki:Fileexists-forbidden]] (for local images) and [[MediaWiki:Fileexists-shared-forbidden]] (for Commons images)
-- brion vibber (brion @ pobox.com)
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
Thomas Gries wrote:
Brion, I would be interested:
how is this related to ( or a solution of ) http://bugzilla.wikipedia.org/show_bug.cgi?id=2497 Admins ought to be able to upload any file
In no way at all related.
-- brion vibber (brion @ pobox.com)
Brion Vibber wrote:
Due to popular demand (and my general dislike of interaction between image changes and caching, plus a rash of vandalism of a certain type) I've added two new permission keys to limit uploads that overwrite existing images.
Disabling the 'reupload' right will prevent any upload of a file which already is present, either locally or on the shared repository (Commons).
Disabling the 'reupload-shared' right will prevent overwrites of images which are present on the shared repository but _not_ on the local wiki. (A pre-existing local image overrides the Commons image.)
Just so I understand this right --
If an image exists in BOTH locations, then I can overwrite it freely, but if someone then deletes the LOCAL one, then suddenly everyone loses the right to upload that image because the shared one is now used?
It seems a bit weird, but it also makes sense. :)
Timwi
Timwi wrote:
Just so I understand this right --
If an image exists in BOTH locations, then I can overwrite it freely, but if someone then deletes the LOCAL one, then suddenly everyone loses the right to upload that image because the shared one is now used?
It seems a bit weird, but it also makes sense. :)
Correct. If there is an already existing local image with a given name, the shared one is ignored/irrelevant.
-- brion vibber (brion @ pobox.com)
wikitech-l@lists.wikimedia.org