Extension:PDF Include

The PDF Include allows to include PDF-files on a page from any URL.

Deprecation
As of Mediawiki 1.35 this extension is deprecated in favor of Extension:PDFEmbed. If you'd like to see any features from the old extension migrated please file an issue.

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


 * 1.3
 * Implemented whitelist


 * 1.4
 * Allows usage of Template parameters like


 * 1.4.1
 * Allows usage of #page additions like somepdf.pdf#20 which will link to page 20 of this pdf


 * 1.4.2
 * Improves code


 * 1.4.3
 * Fixes recusive tag parsing isuse (macros could not be used for setting pdf), improves error handling for local files with file not found message

Code

 * PDFInclude.php