Mediawiki uploader

From WandoraWiki
(Difference between revisions)
Jump to: navigation, search
(Uploading subject locators)
(Uploading subject locators)
 
Line 47: Line 47:
  
  
Fill-in your mediawiki site root, username and password. To send files directly as stream tick '''send as byte stream'''. When a file extension can't be seduced from the URL or path a default extension is added according to the '''default file extension'''.
+
Fill-in your mediawiki site root, username and password. To send files directly as stream tick '''send as byte stream'''. When a file extension can't be deduced from the URL or path a default extension is added according to the '''default file extension'''.
  
  
 
[[File:wikiupload_sl_setup.jpg | center]]
 
[[File:wikiupload_sl_setup.jpg | center]]

Latest revision as of 17:49, 27 June 2013

Mediawiki uploader allows sending occurrances and subject locators directly to a mediawiki site. Mediawiki uploader uses Mediawiki API to upload occurrances or subject locators as file URLs or local file paths. Local files must be send as byte stream.

To allow mediawiki uploads by Mediawiki uploader the settings must be set accordingly. In the mediawiki root folder edit file LocalSettings.php to inlcude the following lines:

$wgGroupPermissions['sysop']['upload_by_url'] = true;
$wgAllowCopyUploads = true;

Contents

[edit] Uploading occurrances

Occurrances can be uploaded both one at a time or many at once filtered by scope.


[edit] Single occurrance

To upload a single occurrance to mediawiki right-click on the occurrance type field at the column where data is inserted to open a menu. Click on upload URL occurrance resource to mediawiki.


Wikiupload occurrancemenu.jpg


Fill-in your mediawiki root URL, username and password. Edit the filename if needed and make sure to include a proper file extension. Select the occurrance type to use as description. To send files directly as stream tick send as byte stream.


Wikiupload occurrance setup.jpg

[edit] Multiple occurrancies

To upload multiple occurrances to mediawiki right-click on the context menu and select topics > occurrances > upload occurrances to mediawiki.


Wikiupload occurrance batch menu.jpg


In the occurrance upload options select the occurrance type and scope to upload.


Wikiupload occurrance batch.jpg


In the upload options fill-in your mediawiki root url, username and password. Select the occurrance type to use as description. To send the file as stream tick send as byte stream. Write a down a file extension to be used as a default if such is not found in default file extension.


Wikiupload occurrance batch setup.jpg

[edit] Uploading subject locators

To upload all subject locators to mediawiki right-click on the context menu and select topics > subject locators > upload subject locator resources to mediawiki.


Wikiupload slmenu.jpg


Fill-in your mediawiki site root, username and password. To send files directly as stream tick send as byte stream. When a file extension can't be deduced from the URL or path a default extension is added according to the default file extension.


Wikiupload sl setup.jpg
Personal tools