When uploading files via the API, various warnings may be returned. One of
these warnings is "deleted-archive", with a value indicating the title
under which the file was previously uploaded and deleted.
With the merge of Gerrit change 105215,[1] which fixes bug 59167,[2] this
"deleted-archive" warning may have an empty value when the file content has
been suppressed. Clients should be adjusted to account for this possibility.
[1]: https://gerrit.wikimedia.org/r/#/c/105215/
[2]: https://bugzilla.wikimedia.org/show_bug.cgi?id=59167
--
Brad Jorsch (Anomie)
Software Engineer
Wikimedia Foundation
_______________________________________________
Mediawiki-api-announce mailing list
Mediawiki-api-announce(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce
I couldn't find any relevant documentation for this particular case, so
I'm hoping someone on the list might be able to point me in the right
direction...
If I want to l create a new user account via the Mediawiki API, I might
issue an initial request for a token like this:
curl -c cookies.txt -X POST
'http://en.wikipedia.beta.wmflabs.org/w/api.php?action=login&format=json&lgn…'
...and then submit the actual request to create the account with the
valid token obtained in the previous step:
curl -b cookies.txt -X POST
'http://en.wikipedia.beta.wmflabs.org/w/api.php?action=login&format=json&lgn…<token_goes_here>'
My problem is that some wikis require a captcha for account creation, so
that second request gets a response like this:
{"servedby"=>"deployment-apache33", "error"=>{"code"=>"Incorrect or
missing CAPTCHA.", "info"=>"<Incorrect or missing CAPTCHA.>"}}
I'm don't know how to deal with the captcha requirement via my API
calls. Does anyone know if that is possible with a "createaccount"
request, and if so, how does that work?
Thanks,
Jeff
Hi, All,
We can only get the recent changes from API. But I found we only could get
the recent changes which happened during the last 30 days. How can I get
the recent changes earlier than 30 days? Or are there any pages or
statements about this?
Thanks.
Ethan Liu