Skip to content

Mediawiki extension to embed PDF files into articles.

License

Notifications You must be signed in to change notification settings

Bhanditz/PDFEmbed

 
 

Repository files navigation

PDFEmbed

PDFEmbed allows Adobe Acrobat PDF files to be embedded into a wiki article 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.

Installation

To install this extension, add the following to the end of the LocalSettings.php file:

//PDFEmbed
wfLoadExtension('PDFEmbed');

Configuration

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

//Default width for the PDF object container.
$wgPdfEmbed['width'] = 800;

//Default height for the PDF object container.
$wgPdfEmbed['height'] = 1090;

About

Mediawiki extension to embed PDF files into articles.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 96.7%
  • Shell 3.3%