PdfHandler is a MediaWiki extension.

Status for Mediawiki4Intranet distribution:

Usage

PdfHandler is a media handler for PDF files. It allows to upload and insert PDF’s to Wiki pages just like image files. Also it supports paged preview and inserting thumbnails of specific pages via [[File:Book.pdf|page=2]] syntax.

This is our (Mediawiki4Intranet) fork of the standard PdfHandler extension. Its main features are:

TODO

Setup

First install Poppler command-line tools (pdfinfo and pdftocairo are required). In Debian they are contained in the poppler-utils package.

Then clone the extension as usual and add it to LocalSettings.php:

require_once "$IP/extensions/PdfHandler/PdfHandler.php";