Topic on Project:Support desk

62.102.229.98 (talkcontribs)

Ok I have a basic need : export articles as Pdf. While it seems to exist a PdfExport extension available for the 1.27.0 version of MW, I learnt here according to @Seb35 that this one is no more maintained since MW 1.18. So first, why the hell do you propose to download a 1.27.0 version while this one obviously don't work ? So now, I try another extension, called PdfBook, and this time the installation goes well (hurrah). But when I try to export an article, it crashes with a fatal error : Call to undefined function wfMsg() in /var/www/wiki/extensions/PdfBook/PdfBook.hooks.php on line 18.

So what, is this one obsolete too ?

Can someone advise me for an extension that actually works with an up to date documentation ? Or maybe such Graal still does not exist ?

I'm sorry for such a sarcastic tone but since I started to work with mediawiki, I struggle with obsolete documentation, contradictory informations, I encounter problems for almost every single extension. My experience is not fun at all, and given some posts I've read on forums, I'm not the only one.

Seb35 (talkcontribs)

I aggree there are a lot of old things and it is not always clear if a given extension can work or if it is too old. I’m afraid PdfBook is also too old given the error you get. I hope you can make PdfExport work (at least I succeeded, so it can work). When you search an extension for MediaWiki, it is generally a good advice to search what does Wikipedia (search in its Special:Version) because you can be sure the extension will work; else you have to try. In this case, Wikipedia uses Extension:Collection that you can try.

Reply to "PdfBook fatal error"