Extension:AJAXDocumentViewer

What can this extension do?
AJAX Document Viewer is a web-based online document viewer that can be embedded into any web page or be linked from any page. It is customizable and free, although the free version displays a banner ad.

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 'XXXX' is the free AJAX Document Viewer key that can be obtained from http://www.ajaxdocumentviewer.com/linkit.asp#key.

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