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?
mediawiki-l@lists.wikimedia.org