Jump to content

Extension:MediaUploader/Configuration/Appearance

From mediawiki.org

display section

[edit]

headerLabel

[edit]
G C P

Wikitext to display above the MediaUploader UI. This can be useful if you want to, e.g., display a banner above the upload form in campaigns.

Default
$wgMediaUploader['display']['headerLabel'] = '';

thanksLabel

[edit]
G C P

Wikitext to display on top of the last step ("Use"). When not provided, the message mediauploader-thanks-intro will be used.

Default
$wgMediaUploader['display']['thanksLabel'] = '';

tutorial section

[edit]

enabled

[edit]
G C

Whether to enable the tutorial step. When false, the step is hidden entirely.

Default
$wgMediaUploader['tutorial']['enabled'] = true;

skip

[edit]
G C

Whether to skip the tutorial by default. When true, the user can still manually go back and see the tutorial.

Default
$wgMediaUploader['tutorial']['skip'] = false;

wikitext

[edit]
G C P

Wikitext to be displayed in the tutorial step. When set to a falsy value, the tutorial step will be hidden entirely.

The default is a message explaining how to configure the tutorial.

Default
$wgMediaUploader['tutorial']['wikitext'] = '{{int:mediauploader-default-tutorial-text}}';

altUploadForm

[edit]
G

Title of page for alternative uploading form to be displayed above MediaUploader. When empty, no link will be added.

Use this if your users are used to an older upload method.

Default
$wgMediaUploader['altUploadForm'] = '';

The value can be either a page name:

$wgMediaUploader['altUploadForm'] = 'Special:Upload';

Or an object mapping user language code to page – for a catch-all page for all languages not explicitly configured, use 'default':

$wgMediaUploader['altUploadForm'] = [
  'default'	=> 'Project:Upload',
  'de'      => 'Project:Hochladen',
];

alternativeUploadToolsPage

[edit]
G

Wiki page that lists alternative ways to upload. This will be displayed above the upload form in a manner similar to altUploadForm. When empty, no link will be added.

Default
$wgMediaUploader['alternativeUploadToolsPage'] = '';