So if I have some javascript running on en.wikipedia.org which would be a way to post to de.wikipedia.org?
I tried opening an iframe, allowing the user to edit the wikimarkup and modifying the form action to point to de.wikipedia.org it didn't work.
Is there any better solution that can be done using javascript. Thanks
On Fri, Dec 19, 2008 at 3:27 PM, Bryan Tong Minh bryan.tongminh@gmail.com wrote:
On Fri, Dec 19, 2008 at 7:34 AM, Daniel Friesen dan_the_man@telus.net wrote:
The API supports JSONP so there should be no issues with things like XmlHttpRequest's same-domain limitations.
For security reasons $wgUser is stripped on json callback calls. Plus you need to make a post request, which is not possible with <script>
Bryan
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api