Difference between revisions of "UploadWizard"

From Peter
Jump to: navigation, search
(That's Wizard!)
Line 7: Line 7:
 
For all the gen head to [[https://www.mediawiki.org/wiki/Extension:UploadWizard This Webpage]] where up to date details are published, concerning Upload Wizard.
 
For all the gen head to [[https://www.mediawiki.org/wiki/Extension:UploadWizard This Webpage]] where up to date details are published, concerning Upload Wizard.
  
== Installation ==
+
== Full Installation is Underway ==
 
=== Enabling uploads and thumbnails ===
 
=== Enabling uploads and thumbnails ===
Your MediaWiki will need to be capable of hosting media files and creating thumbnails (smaller previews of media files). If you can upload images and see smaller previews on their File page, you're already ready. If not, for full instructions, see {{ll|Manual:Image administration|the manual page on image administration}}, particularly {{ll|Manual:Image administration#Image thumbnailing|image thumbnailing}}.  
+
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:
 
Quick start for GNU/Linux or Mac OS X users:

Revision as of 07:01, 22 August 2016

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>