Samuel Lampa skrev: > Since I want to keep this setting, is it possible to enable access to > the API only though settings in LocalSettings.php? > The following did not help: > $wgGroupPermissions['*']['writeapi'] = true;
Well, this is not really needed anymore either, since I now managed to log in through the API. First I had problems doing that. My major obstacle was how to store the cookie when connecting through cURL/PHP, but that was solved by using the cURL class posted at http://www.php.net/manual/en/book.curl.php#86391 , which takes care of cookies et.c. // Samuel _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
