Commit 5c17cd6a authored by Alexia's avatar Alexia

Correct credits type and updated readme.

parent b0c9a297
PDFEmbed
========
Mediawiki extension to embed PDF files into articles.
PDFEmbed allows Adobe Acrobat PDF files to be embedded into a wiki article using <pdf></pdf> 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
require("$IP/extensions/PDFEmbed/PDFEmbed.php");
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.
$pdfEmbed['width'] = 800;
//Default height for the PDF object container.
$pdfEmbed['height'] = 1090;
\ No newline at end of file
......@@ -21,7 +21,7 @@ $credits = array(
'descriptionmsg' => 'pdfembed_description',
'version' => '1.0'
);
$wgExtensionCredits['media'][] = $credits;
$wgExtensionCredits['parserhook'][] = $credits;
/******************************************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment