Hi,
I just wanted to thank Magnus again for reinventing the wheel (and such a nice one): http://tools.wikimedia.de/~magnus/whatisthat.php
Is there any chance to produce raw output and to include it via AJAX to the edit page? This would be really great, because you'd be able to see, if there are any translations available.
Thanks in advance,
Flo
PS: Was this the right way or should I've used your Issue Tracker on TS?
On 10/5/07, Florian Straub flominator@gmx.net wrote:
Hi,
I just wanted to thank Magnus again for reinventing the wheel (and such a nice one): http://tools.wikimedia.de/~magnus/whatisthat.php
My pleasure :-)
Is there any chance to produce raw output and to include it via AJAX to the edit page? This would be really great, because you'd be able to see, if there are any translations available.
You can now call a "raw" mode (by appending "&raw" to the URL).
Also, you can append "&onlynew" to get only languages that are not already in the image description (checked via the use of e.g. {{en|...}} on the page).
Both options are also available as checkboxes.
Anyone volunteering for the JavaScript on Commons? ;-)
Cheers, Magnus
"Magnus Manske" magnusmanske@googlemail.com wrote on Friday, October 05, 2007 8:44 PM:
On 10/5/07, Florian Straub flominator@gmx.net wrote:
Is there any chance to produce raw output and to include it via AJAX to the edit page? This would be really great, because you'd be able to see, if there are any translations available.
You can now call a "raw" mode (by appending "&raw" to the URL).
Also, you can append "&onlynew" to get only languages that are not already in the image description (checked via the use of e.g. {{en|...}} on the page).
Both options are also available as checkboxes.
Anyone volunteering for the JavaScript on Commons? ;-)
I tried but I stumbled over the same origin policy (SOP) :(
Regards,
Flo
document.write tricke ;) This means that magnus has to implement a callback parameter to wrap the json object in a function call. See for example http://commons.wikimedia.org/wiki/MediaWiki:RandomJson.js?withJS=MediaWiki:RandomJson.js
Bryan
On 10/6/07, Florian Straub flominator@gmx.net wrote:
"Magnus Manske" magnusmanske@googlemail.com wrote on Friday, October 05, 2007 8:44 PM:
On 10/5/07, Florian Straub flominator@gmx.net wrote:
Is there any chance to produce raw output and to include it via AJAX to the edit page? This would be really great, because you'd be able to see, if there are any translations available.
You can now call a "raw" mode (by appending "&raw" to the URL).
Also, you can append "&onlynew" to get only languages that are not already in the image description (checked via the use of e.g. {{en|...}} on the page).
Both options are also available as checkboxes.
Anyone volunteering for the JavaScript on Commons? ;-)
I tried but I stumbled over the same origin policy (SOP) :(
Regards,
Flo
Commons-l mailing list Commons-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/commons-l
Bryan Tong Minh wrote:
document.write tricke ;) This means that magnus has to implement a callback parameter to wrap the json object in a function call. See for example http://commons.wikimedia.org/wiki/MediaWiki:RandomJson.js?withJS=MediaWiki:RandomJson.js
Bryan
Could a generic ajax toolserver routine be added for accessing any toolserver page?
On 10/6/07, Bryan Tong Minh bryan.tongminh@gmail.com wrote:
document.write tricke ;) This means that magnus has to implement a callback parameter to wrap the json object in a function call. See for example http://commons.wikimedia.org/wiki/MediaWiki:RandomJson.js?withJS=MediaWiki:RandomJson.js
Looks cool! Maybe you can help me out: http://commons.wikimedia.org/wiki/MediaWiki:WhatIsThat.js
Magnus