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@gmail.com wrote:
于 2013年05月28日 18:28, d_jan 写道:
Hello,
I'm using the upload wizard extension (https://www.mediawiki.org/** wiki/Extension:UploadWizardhttps://www.mediawiki.org/wiki/Extension:UploadWizard). 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:UploadWizardhttps://www.mediawiki.org/wiki/Extension:UploadWizard("Enabling 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@lists.wikimedia.**org MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/**mailman/listinfo/mediawiki-lhttps://lists.wikimedia.org/mailman/listinfo/mediawiki-l
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:Licenseshttps://www.mediawiki.org/wiki/MediaWiki:Licensesand http://commons.wikimedia.org/**wiki/MediaWiki:Licenseshttp://commons.wikimedia.org/wiki/MediaWiki:Licenses. This page : https://www.mediawiki.org/**wiki/Files_and_licenses_**concepthttps://www.mediawiki.org/wiki/Files_and_licenses_conceptmight help you as well, I think.
______________________________**_________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.**org MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/**mailman/listinfo/mediawiki-lhttps://lists.wikimedia.org/mailman/listinfo/mediawiki-l