MediaWiki talk:Gadget-WhatIsThat.js

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search


error in generated code[edit]

When viewing Image:Erofeyev greifswald.jpg, I get an error; the message from Firefox's console:

 Ошибка: unterminated string literal
 Источник: http://tools.wikimedia.de/~magnus/whatisthat.php?onlynew&raw&js&image=Image%3AErofeyev_greifswald.jpg
 Строка 2, Символ 7
 Исходный код:
 return "{{en|Victor Erofeyev in Greifswald.}}

Here is the corresponding source code from that URL:

function whatisthat_get_descriptions () {
return "{{en|Victor Erofeyev in Greifswald.}}
{{pl|Wiktor Jerofiejew (pierwszy z lewej).}}
{{ru|Ерофеев.}}
"; }

The error is in the 2nd line (unterminated string).--Imz (talk) 12:01, 14 October 2008 (UTC)[reply]

Of course. That external script is broken. Please file an error report here, but I have no idea when Magnus will get to do something about it. Lupo 12:16, 14 October 2008 (UTC)[reply]
I'm registered there, logged in, but I don't see a way to file a report...--Imz (talk) 12:36, 14 October 2008 (UTC)[reply]
It's a JIRA issue tracker. After logging in, there should be a "Create new issue" link in the top menu bar. Lupo 13:04, 14 October 2008 (UTC)[reply]
No, there isn't. Looks like it's disabled, or I'm not smart enough.--Imz (talk) 13:22, 14 October 2008 (UTC)[reply]
Strange. Sure you were logged in? Anyway, I've done it: [1]. Only problem is that I couldn't assign it to Magnus, but I guess Daniel will either reassign it or maybe even solve it himself. Lupo 13:47, 14 October 2008 (UTC)[reply]

{{Editprotected}} How come this hasn't been solved in over an year? It seem to be simply a matter of removing a newline in the code :( (also, JIRA is down) --Waldir talk 09:37, 21 March 2010 (UTC)[reply]

What do admins have to do with this? The bug is in the Toolserver script, there is nothing Commons admins can do with that. Go bug Magnus. --Mormegil (talk) 16:51, 21 March 2010 (UTC)[reply]
This is a Commons gadget, and it's malfunctioning; Commons admins are indeed responsible for the maintenance of the project, so there's at least a tangential responsibility in this issue. On the other hand, I assume that some admins will be regulars at IRC channels or other venues where Magnus can be contacted (and I further assume some will have regular contact with him and will know what are the best ways to contact him). Thirdly, Magnus is an admin himself so there is indeed one admin (him) who can deal with this issue. And finally, since the tool can be used with different outputs, maybe someone (again, only admins can edit MW pages) might want to rework this script (for example to load the tool's result page in an invisible iframe, or some other similar trick). If you still feel the editprotected notice is unwarranted here, feel free to remove it. I still think the attention it attracts does more good than harm. (Actually, what harm does it cause?) --Waldir talk 20:26, 21 March 2010 (UTC)[reply]
You requested “that an edit or modification be made to this protected page”. What “edit or modification of this protected page” do you request? I just don’t see the point misusing the template when the only thing needed is Special:EmailUser/Magnus_Manske. --Mormegil (talk) 23:19, 21 March 2010 (UTC)[reply]
Please note what I wrote above: "since the tool can be used with different outputs, maybe someone (again, only admins can edit MW pages) might want to rework this script (for example to load the tool's result page in an invisible iframe, or some other similar trick)" -- I believe that qualifies as "an edit or modification to this page". But again, if this template bothers you so much, feel free to be bold and remove it, if you believe that improves Commons, and I won't insist further on the issue. --Waldir talk 01:09, 22 March 2010 (UTC)[reply]
Update: Magnus has fixed the script. I've already readded the gadget to the gadgets list. --Waldir talk 10:40, 23 March 2010 (UTC)[reply]

endless loop[edit]

This code is in an endless loop. I got WhatIsThat till infinity, anyone know how to fix it? Silver Spoon (talk) 08:26, 24 September 2010 (UTC)[reply]

I got it disabled now in my preferences... Silver Spoon (talk) 08:54, 24 September 2010 (UTC)[reply]
I was getting the same thing, and disabled it as well. I should have commented here, good call. --Waldir talk 17:10, 24 September 2010 (UTC)[reply]

Tool down?[edit]

The script seems to be working, but the toolserver won't serve the tool because the user account is marked as inactive. Perhaps the gadget should be disabled or removed until the author's status is determined? —Darkwind (talk) 01:01, 1 May 2012 (UTC)[reply]

Tool not working?[edit]

I just tried this tool on File:Sketch of Teorya Statue (1869).jpg and it did not find any descriptions, while manual check finds a bunch. --Jarekt (talk) 17:20, 14 September 2012 (UTC)[reply]

Down?[edit]

Down? --Atamari (talk) 10:21, 18 May 2014 (UTC)[reply]

Update calling tool[edit]

{{Edit request}} Tool is working, but 'onlynew' param is broken. Please replace calling URL from

"//tools.wmflabs.org/multidesc/index.php?onlynew&raw&image="

to

"//tools.wmflabs.org/multidesc/index.php?raw&image="

Thanks before!--Kaganer (talk) 09:06, 31 January 2017 (UTC)[reply]

✓ Done Awesome! Thank you! jdx Re: 20:13, 9 March 2017 (UTC)[reply]

Tool is down again?[edit]

Hi all,

I've been trying to use the WhatIsThat? tool (based on MultiDesc) and it seems to have some issue with its database:


Warning: parse_ini_file(/data/project//replica.my.cnf): failed to open stream: No such file or directory in /data/project/magnustools/public_html/php/common.php on line 57

Warning: mysqli::mysqli(): (HY000/1045): Access denied for user @'10.68.18.25' (using password: NO) in /data/project/magnustools/public_html/php/common.php on line 126

Fatal error: Call to a member function query() on boolean in /data/project/multidesc/public_html/index.php on line 171

Who owns this at the moment?

Its quite a useful tool, available through the Commons interface, at it is a pity to have it down.

--Codrin.B (talk) 12:24, 3 June 2017 (UTC)[reply]