Brion just enabled the write api on test wiki. See http://test.wikipedia.org/w/api.php?action=query&prop=revisions&meta=siteinfo&format=jsonfm
Bryan
On 20.05.2008, 0:15 Bryan wrote:
Brion just enabled the write api on test wiki. See http://test.wikipedia.org/w/api.php?action=query&prop=revisions&meta=siteinfo&format=jsonfm
Bryan
Great! He must have noticed that I started writing API editing support for AWB:)
Bryan Tong Minh schreef:
Brion just enabled the write api on test wiki. See http://test.wikipedia.org/w/api.php?action=query&prop=revisions&meta=siteinfo&format=jsonfm
FINALLY! ;)
Hmm, I'm currently getting blank pages for all requests to test.wikipedia.org ...
Roan Kattouw (Catrope)
On Mon, May 19, 2008 at 11:38 PM, Roan Kattouw roan.kattouw@home.nl wrote:
Roan Kattouw schreef:
Hmm, I'm currently getting blank pages for all requests to test.wikipedia.org ...
Never mind, firewall problem. Testwiki is running extremely slow, though.
Roan Kattouw (Catrope)
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
That's because it is running of NFS on a single server. Or so I was told two minutes ago.
There are plans to enable the write API on the 'real' WMF wikis as well. Currently, it's only enabled on test.wikipedia.org (but you probably got that from the subject). If you want to test an application that uses the write API (i.e. action={edit,move,rollback,delete,undelete,protect,block,unblock} ), you can do so on the test Wikipedia. It could also be an idea to organize edit parties to test how the API and your application handle edit conflicts.
Before the write API is enabled WMF-wide, though, we need you to report your experiences with it. If you find a bug or have a suggestion for an improvement, please file it at Bugzilla [1] (don't forget to set Component to API). If it's working just fine for you, we *also* want to know: in that case please reply to or vote for bug 14210 [2]. This doesn't just apply to action=edit (which is probably the most popular feature), but also to the other modules.
Roan Kattouw (Catrope)
[1] https://bugzilla.wikimedia.org/ [2] https://bugzilla.wikimedia.org/show_bug.cgi?id=14210
I've been testing my client code on test.wikipedia.org and having problems, but I can't tell whether it is a problem in my code, in the API, or on the testwiki server.
I submitted an edit to a user page using the following body in the POST request to http://test.wikipedia.org/w/api.php (I've broken out the body into key=value pairs to make it somewhat more readable, but there were no line breaks in the body as submitted via http):
maxlag=5& title=User%3AR%27n%27B%2Ftest& text=Further+test+of+page+revision+using+API.& format=json& recreate=& basetimestamp=2008-06-04T19%3A40%3A58Z& summary=test+revision+again& token=0a2b0e1b8d6cea730e7802b900476fa0%2B%5C& action=edit& minor=
This request returned an HTTP 500 status code with an empty response body; however, the edit was successful on the wiki server. (See http://test.wikipedia.org/wiki/User:R%27n%27B/Test) Any ideas why I would be getting this 500 status code instead of the expected JSON response text?
Russ Blau
Russell Blau wrote:
I've been testing my client code on test.wikipedia.org and having problems, but I can't tell whether it is a problem in my code, in the API, or on the testwiki server.
I submitted an edit to a user page using the following body in the POST request to http://test.wikipedia.org/w/api.php (I've broken out the body into key=value pairs to make it somewhat more readable, but there were no line breaks in the body as submitted via http):
maxlag=5& title=User%3AR%27n%27B%2Ftest& text=Further+test+of+page+revision+using+API.& format=json& recreate=& basetimestamp=2008-06-04T19%3A40%3A58Z& summary=test+revision+again& token=0a2b0e1b8d6cea730e7802b900476fa0%2B%5C& action=edit& minor=
This request returned an HTTP 500 status code with an empty response body; however, the edit was successful on the wiki server. (See http://test.wikipedia.org/wiki/User:R%27n%27B/Test) Any ideas why I would be getting this 500 status code instead of the expected JSON response text?
Russ Blau
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Me, Bryan and another user (who I do not recall the name of, sorry) have also encountered this problem. It was reported via the #wikimedia-tech IRC channel, although I am unsure of whether it was noted or acted upon. As far as I am aware no bugzilla entry was opened either. The edit does still go through, although it is essential that data is returned for any bot to be programmed in a reasonably effective way.
Forwarding this to wikitech-l for further investigation.
MinuteElectron.
mediawiki-api@lists.wikimedia.org