[Mediawiki-l] mw 1.16 - collection extension - pdf download

Daniel Walz daniel.walz at gmx.de
Thu Nov 25 19:46:30 UTC 2010


Hi,

I installed the Collection extension and have a problem which seems to
be not uncommon:

If I want to download the document, the pdf-File is opened in the
browser and shown as

--------------------------------------------------
%PDF-1.3 %“Œ‹ž ReportLab Generated PDF document http://www.reportlab.com
% 'BasicFonts': class PDFDictionary 1 0 obj % The standard fonts
dictionary << /F1+0 117 0 R /F2+0 121 0 R /F3+0 125 0 R /F4+0 129 0 R
/F5 19 0 R /F6+0 133 0 R >> endobj % 'Annot.NUMBER1': class LinkA   ...
--------------------------------------------------

So the File is sent as "text/html" instead as "application/pdf".

I never have problems to download pdf files, so it's not a problem of my
browser (FF 3.6.12) I think.

Saving the file to disk doesn't work, it can't be read as PDF.

The only solution so far is download the file directly via

curl -D - -o test.pdf -d collection_id=1234567890 -d writer=rl -d
command=download http://tools.pediapress.com/mw-serve/

But that doesn't make fun...

Has anyone a solution for that problem? Could it be a problem of the
server at pediapress?

Daniel



More information about the MediaWiki-l mailing list