2009/7/15 Fabio Junior Sabai <fabio.sabai(a)cedrofinances.com.br>br>:
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).
As the message says, that only
applies if Collection uses JSON
callbacks. Since mwlib is in Python, I highly doubt that. Instead, I
think it doesn't authenticate itself with the API and triesto read
pages as an anonymous user, which is obviously not allowed. If I'm
right, then that's a bug in either mwlib or the Collection extension.
Roan Kattouw (Catrope)