Extension:AJAXDocumentViewer

What can this extension do?
AJAX Document Viewer is a web based online document viewer and can embedded into any web page or linked from any page. It is fast, customizable and FREE.

Usage
One can optionally set the width and height of the document viewer:

The extension can also be called as a parser function:

Document Name can be the name of a file you have already uploaded to MediaWiki, i.e. Report.doc.

Installation
Create a new file called "extensions/ajaxdocumentviewer.php" in your MediaWiki installation directory and populate it with the following:

Then, in your "LocalSettings.php" file, add:

Where 'XXXXXXXX' is the free AJAX Document Viewer key you have obtained from.

Acknowledgments
This plugin was (badly) adapted from the Vuzit Vuzit and Google Calendar extensions.