Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to convert my MediaWiki site to PDF. The whole website, not just a page. Its a wiki with lots of articles.

Adobe Acrobat has function for this, but the problem is that the site is secured and requiers login. Does anyone know a solution to this?

share|improve this question
How many is "lots of articles"? – DisgruntledGoat Nov 9 '11 at 10:56
What is the wiki application behind the site? – Su' Nov 9 '11 at 11:55
You can use this library: html2pdf.fr – Aurelio De Rosa Nov 9 '11 at 12:19
It looks like other users have this problem, because it doesn't work with logins within web pages. acrobatusers.com/forum/pdf-creation/… – paulmorriss Nov 9 '11 at 12:31
@DisgruntledGoat lets say about 100. – Lautaro Nov 9 '11 at 15:09

This Wikimedia extension exports to PDF. http://www.mediawiki.org/wiki/Extension:Pdf_Export

It says

If you invoke the Pdf Export special page directly, it lets you select a group of wiki pages and output them as a single pdf document.

There's also a warning on that page

Warning: The author of this extension is no longer maintaining it, meaning any reports for additional features and/or bugfixes will more than likely be ignored. If you are interested in developing and maintaining it, please contact the author.

I've not tried it myself.

share|improve this answer

You could mirror the site locally (and unsecured) then run the adobe acrobat function. Assuming you used a Wiki software just create a local install of the software without the password protection and connect it to the same database, then copy over any theme files you need.

share|improve this answer

Haven't used these myself, but there are some extensions that should be worth looking at:

  • Collection lets users(or presumably just you) create a collection of pages to export, which can be manually sorted.
  • PDF Export allows individual pages to be exported as PDF. You might be able to combine this with a curl script, for example.
  • PDF Book can export entire categories(if you use them) as single PDFs.

If you look around the extensions more, you might find something that will just do a completely automated dump of the entire site, but I'd personally lean toward Collection, in case you do want something out of the automatic order.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.