[Mediawiki-api] Received message "You need read permission to use this module"

Fabio Junior Sabai fabio.sabai at cedrofinances.com.br
Wed Jul 15 15:46:50 UTC 2009


Hi,

I'm using MediaWiki version 1.15.1 and mwlib 0.11.2 and 
Extension:Collection to generate PDF from wiki pages. I set my wiki site 
to prevent anonymous reading and editing and configured Extension::LDAP 
to authenticate through my Active Directory. The Extension:Collection 
has the credentials configured to access MediaWiki API through 
authentication. But when mw-render tries to read pages from my wiki, it 
receives this message "You need read permission to use this module".

I read something about credentials stripping when using JSON callbacks 
(there is a comment in ApiMain.php about this). So, the question is: is 
there a way to mw-render read pages from my wiki even with anonymous 
reading being blocked?

I don't want to allow anonymous access to my pages, but I really need to 
generate PDF's from them.

Thank's for any help.

Best regards,
Fabio Junior Sabai




More information about the Mediawiki-api mailing list