Thanks for the reference to the bug!
I don't think Special:Upload has anything to do
with this.
Though it is a good guess, I doubt that too: The UploadWizard shows all
default licences and nothing does need to be in the MediaWiki:Licenses. Both
upload-Interfaces seem to be independed.
________________________________
Von: Nischay Nahata <nischayn22(a)gmail.com>
An: MediaWiki announcements and site admin list <mediawiki-l(a)lists.wikimedia.org>
Gesendet: 16:14 Dienstag, 28.Mai 2013
Betreff: Re: [MediaWiki-l] adding custom licences to the upload wizard
This issue is already tracked in bugzilla [1]
I have explained the problem there and it was attempted to be fixed but
unfortunately that fix broke Commons.
I don't think Special:Upload has anything to do with this.
[
1]https://bugzilla.wikimedia.org/show_bug.cgi?id=44682
On Tue, May 28, 2013 at 5:53 PM, Steph Zhang <stephdechine(a)gmail.com> wrote:
于 2013年05月28日 18:28, d_jan 写道:
Hello,
I'm using the upload wizard extension
(
https://www.mediawiki.org/**
wiki/Extension:UploadWizard<https://www.mediawiki.org/wiki/Extension:Upl…)d>).
I would like to add a custom licence to the choice of licences here. I
would be very grateful if someone could help me along and/or could provide
an example configuration.
I tried the following:
- Installing the extension (good start...)
- Config like described on
https://www.mediawiki.org/**
wiki/Extension:UploadWizard<https://www.mediawiki.org/wiki/Extension:Upl…
uploads and thumbnails ")
...now the fun part, yet unsuccesful;
- LocalSettings.php: added
$wgUploadWizardConfig['**licenses']['myown'] = array( 'msg'
=>
'mwe-upwiz-license-myown' );
$wgUploadWizardConfig['**licensesOwnWork']['licenses'][**] =
'myown';
- created a wikipage at "Mediawiki:mwe-upwiz-license-**myown" containing
some licence-text
I got the following:
the only output is that I get to see in the interface of the wizard are
text at the place where actually the licence choice should be that
resembles the name of the wikipage with the licence, framed by single
brackets: e.g. "[mwe-upwiz-license-myown-**explain]"
Is there somebody who could help along and provide explanation or and
example of how to add a custom licence here?
Cheers,
Jan
______________________________**_________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.**org <MediaWiki-l(a)lists.wikimedia.org>
https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l<https://lists…
How about your wiki's Special:Upload ? Does that page contain those
licenses? I don't think those licenses not available in that page would be
displayed on that extension.
If not, please add those licenses to the page "MediaWiki:Licenses". You
might find further infos by looking at examples e.g.
https://www.mediawiki.org/**wiki/MediaWiki:Licenses<https://www.mediawik…
http://commons.wikimedia.org/**wiki/MediaWiki:Licenses<http://commons.wi…es>.
This page :
https://www.mediawiki.org/**wiki/Files_and_licenses_**concept<https://ww…
help you as well, I think.
______________________________**_________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.**org <MediaWiki-l(a)lists.wikimedia.org>
https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l<https://lists…
--
Cheers,
Nischay Nahata
nischayn22.wordpress.com
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l