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:

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

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

LocalSettings.php
To enable the extension add the following to your "LocalSettings.php" file:

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

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