UploadWizard

From Peter
Jump to: navigation, search

Thank goodness for the UploadWizard, fresh and in use at present on this wiki.

That's Wizard!

The UploadWizard extension allows a user to upload multiple files with a step-by-step JavaScript wizard. It was originally designed by Guillaume Paumier as part of the Multimedia usability project and developed by :Neil Kandalgaonkar, and has evolved since then.

For all the gen head to This Webpage where up to date details are published, concerning Upload Wizard.

Full Installation is Underway

Enabling uploads and thumbnails

This MediaWiki installation is capable of hosting media files and creating thumbnails (smaller previews of media files).

Quick start for GNU/Linux or Mac OS X users:

  • Make sure that the images directory is writable by your web server.
  • Install the ImageMagick libraries and binaries.
  • Add the following configuration to LocalSettings.php:

<source lang="php" enclose="span">

$wgEnableUploads = true; $wgUseImageMagick = true; $wgImageMagickConvertCommand = <path to your convert command>; # Only needs to be set if different from /usr/bin/convert


require_once( "$IP/extensions/UploadWizard/UploadWizard.php" ); </source> You also need to change the following core configuration variable. <source lang="php" enclose="span"> // Needed to make UploadWizard work in IE, see bug 39877 $wgApiFrameOptions = 'SAMEORIGIN'; </source>

You should also install the EventLogging extension. This is used only if you use the campaigns feature, and should be made a soft dependency at some point in the future.

Enabling Flickr uploads

You can also use UploadWizard to transfer files directly from Flickr. To enable this option, first you'll need to get an API key from Flickr:

  1. Go to http://www.flickr.com/services/api/
  2. Click on API Keys
  3. Log in with your Yahoo/Flickr username and password
  4. Sign up for a key

Once you have a key, add the following to your LocalSettings.php: <source lang="php" enclose="span"> $wgAllowCopyUploads = true; $wgGroupPermissions['user']['upload_by_url'] = true; // to allow for all registered users

$wgUploadWizardConfig = array(

   'flickrApiUrl' => 'https://secure.flickr.com/services/rest/?',
   'flickrApiKey' => 'XXXXXXXXXXXXXXX',

); </source>

You may also want to limit the upload domains specifically to Flickr: <source lang="php" enclose="span"> $wgCopyUploadsDomains = array( '*.flickr.com', '*.staticflickr.com' ); </source>