These is the install file for the Semantic Image Input extension.
	
Extension page on mediawiki.org: https://www.mediawiki.org/wiki/Extension:Semantic_Image_Input
Latest version of the install file: http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticImageInput/INSTALL?view=co


== Requirements ==

Semantic Image Input requires:

* MediaWiki 1.17 or above
* Semantic Forms 2.2 or above
* PHP 5.3 or above

== Download ==

You can get the code directly from SVN. Tags can be obtained via

 svn checkout <nowiki>http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/SemanticImageInput/REL_version</nowiki>

Where 'version' is the version number of the tag, such as 0_1 (see the [http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/SemanticImageInput/ available tags]).
The latest code can be obtained from trunk:

 svn checkout <nowiki>http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SemanticImageInput/</nowiki>

== Installation ==

Once you have downloaded the code, place the ''SemanticImageInput'' directory within your MediaWiki
'extensions' directory. Then add the following code to your [[Manual:LocalSettings.php|LocalSettings.php]] file:

# Semantic Image Input
require_once( "$IP/extensions/SemanticImageInput/SemanticImageInput.php" );

You also need to enable instant commons: https://www.mediawiki.org/wiki/Instant_commons
This is done by adding the following code to your LocalSettings.php file:

# Enable instant commons
$wgUseInstantCommons  = true;

Beware that in recently installed MediaWikis, this setting might already be present, in which case
you should make sure it's set to true instead of adding another copy.

== Configuration ==

Configuration of Contest is done by assigning to $egSIISettings in your
[[Manual:LocalSettings.php|LocalSettings.php]] file, AFTER the inclusion of the
extension. The options are listed below and their default is set in the Contest settings file:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticImageInput/SemanticImageInput.settings.php?view=markup
You should NOT modify the settings file, but can have a look at it to get an idea of
how to use the settings, in case the below descriptions do not suffice.

{| class="wikitable sortable"
! Name
! Type
! Default
! Description
|-
| defaultImage
| string
| File:Mail-envelope.png
| The default image to add in case no image could be obtained. 
|-
| defaultWidth
| integer
| 200
| The default 
|}

