Yes, the same user credentials that I use to edit manually, which is in the sysop group.
________________________________ From: K. Peachey p858snake@gmail.com To: Al Johnson alj62888@yahoo.com; MediaWiki announcements and site admin list mediawiki-l@lists.wikimedia.org Sent: Friday, February 22, 2013 1:16 AM Subject: Re: [MediaWiki-l] [API] Can't edit with API in custom namespace
Is the API logged in as a user with permissions that cover editing the namespace?
On Fri, Feb 22, 2013 at 5:47 PM, Al Johnson alj62888@yahoo.com wrote:
I hope someone can help.
I have a custom namespace.
I can edit via API in the _main_ namespace, thus, my custom bot is logging in, getting edit token, etc.. - API edit code tests good.
I can edit via the WEB interface in the _custom_ namespace successfully - security/permissions configed correctly.
But, I cannot edit via the API in the _custom_ namespace. So, there is something about editing a custom namespace WITH the api.
Error output:
<?xml version="1.0"?><api><error code="protectednamespace" info="You're not allowed to edit pages in the "SusData" namespace" /></api>
Any ideas?
Thanks, al
P.S. I can post config stuff if needed. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l