I have updated this to use jsonp get requests with jQuery.

Here is a link to the gadget:
http://www.mediawiki.org/wiki/User:Robmoen/bugStatusUpdate.js

Once activated, it's use can be demoed here:
http://www.mediawiki.org/wiki/User_talk:Robmoen

I fiddled with the request parameters for a while trying to get the JSON
RPC to not throw errors. I settled with a URL request for now which is
working nicely.
Feel free to shoot me ideas / thoughts on how this could be improved.

Rob

On Fri, Dec 30, 2011 at 7:01 PM, Erik Moeller <[email protected]> wrote:

> On Fri, Dec 30, 2011 at 5:15 PM, Rob Moen <[email protected]> wrote:
> > I started making this but then I realized I was going to have issues
> making
> > the needed cross-domain post requests.
> > I found BugTender achieved this by routing requests through it's own
> > proxy.php script.
> >
> > Here is what I have so far:
> > http://www.mediawiki.org/wiki/User:Robmoen/bugStatusUpdate.js
>
> Got it to work using JSONP GET requests. Leaving a note on your talk
> page with more details.
>
> --
> Erik Möller
> VP of Engineering and Product Development, Wikimedia Foundation
>
> Support Free Knowledge: http://wikimediafoundation.org/wiki/Donate
>
> _______________________________________________
> Wikitech-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>



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

Reply via email to