Extension:PDFEmbed

The PDFEmbed extension allows PDF files (uploaded to your wiki) to be embedded into a wiki page using tags. The PDF file extension is automatically added and necessarily default permissions are configured. Future functionality will allow this extension to act as a media handler for PDF files.

Configuration
If the default configuration needs to be altered add these settings to the "LocalSettings.php" file below the require:

Usage Example
The PDF to be embedded must first be uploaded to the wiki through "Special:Upload". The namespace prefixed file name is then used between the tags to embed it in a page. File:Example.pdf

With optional width and height. File:Example.pdf

Scroll to page 10 after document is rendered. File:Example.pdf

Change Log

 * v2.0.0
 * Converted to extension registration.
 * Forcing a max-width: 100%; on the object container.


 * v1.1.2
 * Added "page" parameter.


 * v1.1.1
 * German Translations provided by User:kghbln


 * v1.1.0
 * Fix PHP notices being thrown for some parameters.
 * Missing language string.