[Mediawiki-l] PdfExport ERROR if set User rigths

Reizer Gábor reizer.gabor at gmail.com
Thu Oct 11 10:40:33 UTC 2007


Hi,

I tried to use my own mediawiki for giving PDF file to another software. I
simply tried to use PDFExport for it. The external software give the
appropriate URL to PdfExport.php and the PDF is ready.

If user rights is default there is no problem.
After I changed the user rights (see below), there is not any content in the
generated PDF file, except the navigation menu on the left-hand side of the
wiki's page.

 I set the user rights:
 $wgGroupPermissions['*'    ]['read']         = false;
 $wgGroupPermissions['user' ]['read']         = true;
 $wgWhitelistRead = array("Main Page", 'Special:PdfPrint',
'Special:Userlogin',);

How can I get the whole content of the page? Can I somehow change the USER
ID in the PdfExport.php? Any other solution?


More information about the MediaWiki-l mailing list