Hi all,
in the new tradition of posting little gadget ideas and requests here:
http://www.mediawiki.org/wiki/Gadget_kitchen/Requests#Automatic_updates_to_p...
This would be helpful for pages which use bug templates like [[mw:Template:Tracked]] to inform users about the status of bugs they care about. If it's useful and efficient, we could promote it to default gadget or site script.
Any takers? :)
Cheers, Erik
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
Any thoughts for a work around ?
~Rob
On Fri, Dec 30, 2011 at 12:17 PM, Erik Moeller erik@wikimedia.org wrote:
Hi all,
in the new tradition of posting little gadget ideas and requests here:
http://www.mediawiki.org/wiki/Gadget_kitchen/Requests#Automatic_updates_to_p...
This would be helpful for pages which use bug templates like [[mw:Template:Tracked]] to inform users about the status of bugs they care about. If it's useful and efficient, we could promote it to default gadget or site script.
Any takers? :)
Cheers, Erik
-- Erik Möller VP of Engineering and Product Development, Wikimedia Foundation
Support Free Knowledge: http://wikimediafoundation.org/wiki/Donate
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On Fri, Dec 30, 2011 at 5:15 PM, Rob Moen rmoen@wikimedia.org 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.
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 erik@wikimedia.org wrote:
On Fri, Dec 30, 2011 at 5:15 PM, Rob Moen rmoen@wikimedia.org 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 Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On Tue, Jan 3, 2012 at 4:21 PM, Rob Moen rmoen@wikimedia.org wrote:
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
Great - thanks for taking a crack at it, Rob :). I'll play a little bit more with it and will leave notes on talk.
All best, Erik
Rob Moen rmoen@wikimedia.org writes:
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.
This is awesome! I can see this being really, really useful for following up with problem reports we see on WP:VPT or similar pages.
I can think of all sorts of ways to improve this. I may take a crack at it soon.
Mark.
mhershberger@wikimedia.org (Mark A. Hershberger) writes:
Rob Moen rmoen@wikimedia.org writes:
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.
I can think of all sorts of ways to improve this. I may take a crack at it soon.
You can see my "improvements" here: http://labs.wikimedia.deployment.wmflabs.org/wiki/Problem_reports
(Following up here even though I mentioned it in another email because that one may have be TL;DR for some people.)
Mark.
Very cool. Nice work Mark!
On Wed, Jan 11, 2012 at 9:10 PM, Mark A. Hershberger < mhershberger@wikimedia.org> wrote:
mhershberger@wikimedia.org (Mark A. Hershberger) writes:
Rob Moen rmoen@wikimedia.org writes:
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.
I can think of all sorts of ways to improve this. I may take a crack at it soon.
You can see my "improvements" here: http://labs.wikimedia.deployment.wmflabs.org/wiki/Problem_reports
(Following up here even though I mentioned it in another email because that one may have be TL;DR for some people.)
Mark.
wikitech-l@lists.wikimedia.org