|
I wonder if it has something to do with the session cookie that Wikimedia sets. Maybe certain session variables are required for Wikipedia to accept a page edit. Maybe what you need to do is connect to the edit page, fetch the cookie data it returns, then to connect to the submit page, and pass the cookie data back to Wikimedia.
Or perhaps it has sometime to do with the way the form data is passed. Maybe it need to be in multipart/form-data format, rather than application/x-www-form-urlencoded format.
|