Extension:EmbedAll

The EmbedAll extension adds the &lt;pdf&gt; tag for embedding PDF files, the &lt;svg&gt; tag for embedding SVG files and the the &lt;vsd&gt; tag for embedding VSD files. It supports remote and local (uploaded to MediaWiki) files.

Thanks to Dmitry Shurupov for the basic Idea and Code.

Installation

 * 1) Copy EmbedAll.php to the new file EmbedAll.php in your MediaWiki extensions directory in the new Folder EmbedAll.
 * 2) Enable the extension by adding this line to the bottom of your LocalSettings.php:

Usage

 *  http://some.site.com/with/a/document.pdf 
 *  Your_uploaded_document.pdf 
 *  http://some.site.com/with/a/document.svg 
 *  Your_uploaded_document.svg 
 *  http://some.site.com/with/a/document.vsd 
 *  Your_uploaded_document.vsd 

Options

 * width
 * height