Hello,
we have set-up a private wiki and we would like
to access the api from a non logged-in client, in order to show
a whitelisted page. (specifically the images within it).
As we see at the moment you can only enable/disable
access to the api through the file LocalSettings.php
but you cannot provide access to the api by
default, and then checking if the content of the response
contains whitelisted categories. (that is if the response itself is allowed
rather than the generic query to the api)
I have checked the code and this seems possible
by principle, so I'm here to ask if someone has forked
the api in this way or whether we can implement it
for the master distribution, as I think could be
desirable.
(Thomas)
_______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api