[Mediawiki-l] Prevent File Upload without licencing (2)

Uwe Baumbach U.Baumbach at web.de
Sun Mar 2 17:07:13 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

misunderstanding!!

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

We do provide such a box with our licenses, but we don´t want to present
as a default one of thoses licenses.
Users should make their choice "consciously". But a lot of them leave
the box unchanged, that means, they do not choose any of presented licences.

My/our goal ist to "force" them to choose one licence, not accepting an
empty dropbox line.
And this, if possible, without changing the original software code.

So I am looking for an configuration option or, if there isn´t any (so I
suspect) a hook to check the (non-)choice and reject this, leading user
back to the upload form (with an explanatory error message).

|> > Can we avoid source changes?

Only if nothing helps - I would change SpecialUpload.php ...

I hope this made clearer what I meant.

Thank you!

Uwe (Baumbach)
U.Baumbach at web.de


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHyt7BFEbayCH8zXkRAhtJAJ9xdyXZg8k4mI+uirqEnI+tlBHC6gCg3LCD
Wux3DO696id9Xg7LU0J9zS4=
=sCUd
-----END PGP SIGNATURE-----



More information about the MediaWiki-l mailing list