Yes, the same user credentials that I use to edit manually, which is in the 
sysop group.




________________________________
 From: K. Peachey <[email protected]>
To: Al Johnson <[email protected]>; MediaWiki announcements and site admin 
list <[email protected]> 
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 <[email protected]> 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
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to