Extension:PDF Include

PDF Include is an extension for Media Wiki 1.16 and higher. With it you are able to include PDF-Files from any URL.

Installing
Copy the code from the bottom and save it into the extension folder of your installation of MediaWiki under the filename pdf_include.php. Then add the following code to LocalSettings.php

Usage
Path http://www.example.com/example.pdf

Size
If height and width are not specified, then they default to 800px by 800px. You can change this by setting the settings in your LocalSettings.php:

Blocking domains
Domain blocking is done by adding a domain to array in :

Permissions
To use the PDF tag, users have to be in a group with the “pdf” permission.

Changelog

 * 0.5
 * The user-right system was added.


 * 1.0
 * Domain blocking added.


 * 1.1
 * Rewrite


 * 1.2
 * Updated for current MediaWiki.
 * Better display of errors.
 * Fix handling of case where anonymous users can edit