On 6/18/07, Eagle 101 <eagle.wikien.l(a)gmail.com> wrote:
On 6/18/07, Rory Stolzenberg <rory096(a)gmail.com> wrote:
>
> On 6/18/07, Eagle 101 <eagle.wikien.l(a)gmail.com> wrote:
> >
> > There are other things I'd like to see,
> > such as the ability to move images, and to protect images.
> >
>
>
> Wait, we can't protect images? What's the point of c-uploaded, then?
>
> Rory
See the source code of SpecialUpload.php (SVN available at
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/SpecialUplo…
)
/**
* If the image is protected, non-sysop users won't be able
* to modify it by uploading a new revision.
*/
if( !$nt->userCan( 'edit' ) ) {
return $this->uploadError( wfMsgWikiHtml( 'protectedpage' ) );
}
If an image is protected on Wikipedia, a new version can't be uploaded
over it, and (of course) the image description itself can't be edited.
If you try to upload an image over one that's protected, you'll get the
contents of [[MediaWiki:Protectedpage]] thrown at you, surrounded by
<span class="error"> and </span>. However, there is no way to
have both the description editable by anyone and to prohibit uploads,
which Eagle was possibly referring to.
The current situation does not apply to uploading a local copy of an
image protected on commons, and I don't think it works so well with
cascading protection either (transcluding image description pages).