Did you set: $wgGroupPermissions['editsd']['writeapi'] = true;
Tom -----Original Message----- From: mediawiki-l-boun...@lists.wikimedia.org [mailto:mediawiki-l-boun...@lists.wikimedia.org] On Behalf Of Al Johnson Sent: Friday, February 22, 2013 5:25 PM To: mediawiki-l@lists.wikimedia.org Subject: Re: [MediaWiki-l] [API] Can't edit with API in custom namespace The Special:ListGroupRights correctly shows the Administrators group has my defined permission for the namespace: editsd (editsd) Does this issue look like a bug? ________________________________ From: Al Johnson <alj62...@yahoo.com> To: "mediawiki-l@lists.wikimedia.org" <mediawiki-l@lists.wikimedia.org> Sent: Friday, February 22, 2013 1:14 PM Subject: Re: [MediaWiki-l] [API] Can't edit with API in custom namespace In short, I CAN edit a page in a custom namespace with the interface, but NOT with the API... using the sysop account. Is there some code I can do a simple check of? I see no prior bugs about this so maybe there is a tricky configuration setting? If I remove the following namespace protection, the API works: $wgNamespaceProtection[NS_SUSDATA] = array( 'editsd' ); But, I need the namespace protection. Thanks, al ________________________________ From: Al Johnson <alj62...@yahoo.com> To: "mediawiki-l@lists.wikimedia.org" <mediawiki-l@lists.wikimedia.org> Sent: Friday, February 22, 2013 12:47 AM Subject: [API] Can't edit with API in custom namespace 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 _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l