Extension:Silverlight

The Silverlight extension allows (simple) embedding of silverlight in MediaWiki pages by using -tags.

Usage
filename.xap

Attribute Reference

 * 1) width=px (Modify the width of the object)
 * 2) height=px (Modify the height of the object)

Examples
Using Hyperlink:

&lt;silverlight width=&quot;800&quot; height=&quot;400&quot;&gt;http://www.eclipse4sl.org/demo/Test.xap&lt;/silverlight&gt;

Using local uploaded file:

&lt;silverlight width=&quot;800&quot; height=&quot;400&quot;&gt;Test.xap&lt;/silverlight&gt;

Download instructions
Please cut and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation

 * 1) Copy the code into a file (e.g. Silverlight.php)
 * 2) Save the file in the extensions directory of your mediawiki folder
 * 3) Add the line   to your LocalSettings.php file (The name of your file is case sensitive!)
 * 4) If you don't already have it, add the lines   to your LocalSettings.php file.

Now you can use the extension with '' ... '' in the wiki