Topic on Project:Support desk

Jump to navigation Jump to search

The custom MediaWiki:mwe-upwiz-license doesn't display

3 (talkcontribs)

I have a problem, I've edited $wgUploadWizardConfig for to add new choices of licenses. But in the UploadWizard, when I am going to choose a custom license, the text shows something like this ⧼mwe-upwiz-license-wikimedia⧽ and the message MediaWiki that I'd created don't display.

For example, I've added this to $wgUploadWizardConfig:

        'licenses' => array(
		'wikimedia' => array(
			'msg' => 'mwe-upwiz-license-wikimedia',
			'templates' => array( 'Wikimedia' )
		'other-wiki' => array(
			'msg' => 'mwe-upwiz-license-other-wiki',
			'templates' => array( 'Other wiki' )
        'licensing' => array(
        'ownWork' => array(
            'type' => 'or',
            'defaults' => 'cc-by-sa',
			'licenses' => array(
		'thirdParty' => array(
			'type' => 'or',
			'defaults' => 'none',
                        'template' => 'self', // this adds a link to Template:Licensing to the file info page
                        'licenseGroups' => array(
					'head' => 'mwe-upwiz-license-wiki-head',
					'licenses' => array(

In UploadWizard, the text is shown like this:


  • ⧼mwe-upwiz-license-wikimedia⧽
  • ⧼mwe-upwiz-license-other-wiki⧽

What can I do?

Ciencia Al Poder (talkcontribs)

mwe-upwiz-license-wiki, mwe-upwiz-license-wikimedia and mwe-upwiz-license-other-wiki are supposed to be message keys. This means you need to create the pages MediaWiki:mwe-upwiz-license-wiki, MediaWiki:mwe-upwiz-license-wikimedia and MediaWiki:mwe-upwiz-license-other-wiki with the text you want to display. This will allow you to provide translations to users using other languages. (talkcontribs)

Ciencia Al Poder, I've created that messages, but they don't display, the problem persist.

They keep appearing in the same way.

Reply to "The custom MediaWiki:mwe-upwiz-license doesn't display"