On Wed, May 8, 2013 at 9:35 AM, Claudia Müller-Birn
<[email protected]> wrote:
> Hi all,
>
> I don't know whether this is the correct mailing list to ask such question 
> but it is the one I am reading regularly…
>
> Does anyone know about the adequate procedure to get permission to request 
> deleted revision information from the MediaWiki API?
>
> I just stumbled over this problem...
>
> {
>     "servedby": "mw1140",
>     "error": {
>         "code": "drpermissiondenied",
>         "info": "You don't have permission to view deleted revision 
> information"
>     }
> }
>

For a personal wiki, this means you need the 'deletedhistory' and 'deletedtext'
permissions (which is by default assigned to the admin group).

On WMF wikis, this requires being an administrator (although I think there's
some exception for researchers handed out via Meta).

-Chad

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to