MediaWiki talk:Gadget-VIAFDataImporter.js

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


Error[edit]

Hi!

The gadget failed to retrieve information on Category:John_Gurdon. Am I missing something?

(Thanks for this fabulous tool, by the way ;)

Jean-Fred (talk) 12:21, 8 October 2012 (UTC)[reply]

There were results for John Bertrand Gurdon and even John Bertrand. Perhaps the gadget should also check the VIAF id, if it is already there. -- Rillke(q?) 13:24, 8 October 2012 (UTC)[reply]
Unfortunately, the API used to do a search is actually the "autosuggest" API, as it is the only one to support JSONP, allowing a cross-domain request. However, this API doesn't provide very good fuzzy matching. Until there is a better VIAF search API, this is unlikely to change. It would be possible to look up VIAF IDs directly, but this would probably require quite some effort to implement, as the autosuggest API doesn't support that. I will consider it, but I can't make any promises any time soon, as I have a lot going on in real life. I do have a toolserver account now, which might be good for a VIAF search proxy allowing better searching. Sorry for the delay, I am not able to spend much time on-wiki at the moment, which isn't fun. Inductiveload (talk) 15:30, 13 October 2012 (UTC)[reply]

Wrong behavior[edit]

As pointed out in User_talk:Inductiveload#wrong_results_with_VIAF_Importer, it seems like that after VIAF.org added links to "National Library of the Netherlands", VIAFDataImporter is regularly showing lnks to the wrong records. For example at Creator:Ardy Strüwer pressing "Add authority control" will get you link "VIAF ID: 283279424 Ardy Struwer", but when you click that link you get to the entry for "González, José Luis G". Does anybody know how to fix it? --Jarekt (talk) 14:31, 3 January 2013 (UTC)[reply]

GND at institution templates[edit]

There is also some problem with GND parameter added to institution templates. For example I just added authority control to Institution:Southampton City Art Gallery. The "PND" (which should be now "GND") that was added was 056338880 which does not exist. However if you go to the VIAF page you can find the correct GND which is 16314437-0. The inspection of HTML indicates that problem seems to be with VIAF pages themselves, since they show 056338880 but link to 16314437-0. What shall we do about it? --Jarekt (talk) 14:54, 3 January 2013 (UTC)[reply]

The en:Name Authority File (German: Personennamendatei or PND) was only for persons. The institutions have been added from the en:Corporate Bodies Authority File (GKD) and the en:Subject Headings Authority File (SWD) which are now also part of GND. Unfortunately these numbers are a bit tricky, because there are institutions that have now temporarily two numbers (old GKD and old SWD) and the dash, not used by PND, causes problems. --Kolja21 (talk) 01:17, 7 January 2013 (UTC)[reply]

Use GND instead of PND[edit]

it seems like German library uses now identifier called GND instead of PND. The template treats both as different versions of the same parameter, but we should be saving templates with GNDs not PND's. --Jarekt (talk) 19:36, 4 January 2013 (UTC)[reply]

+1. The en:Universal Authority File (GND) has replaced last year PND (and three others authority files). The numbers haven't changed. Please note, that there are beside individualised GNDs (called Tp) also "undifferentiated" GNDs (Tn) and, based on them, undifferentiated VIAFs (like Tischbein, Johann Friedrich August‏). These numbers will change and should not be used for authority control. --Kolja21 (talk) 01:02, 7 January 2013 (UTC)[reply]

Adding more parameters[edit]

I tried to add SUDOC and ISNI support but it does not appear to work so I guess I missed something… Would anyone know better? Jean-Fred (talk) 17:37, 15 January 2013 (UTC)[reply]

Broken JavaScript[edit]

MediaWiki developers found that this page probably breaks JavaScript for users (example: not seeing the buttons when editing a page). You probably need to edit this .js page and/or MediaWiki:Gadgets-definition as in the examples at phabricator:T122755. List more pages to check.

If you have questions or need help, please ask at phabricator:T164242. You can login with your wiki account. Best wishes, Nemo 09:49, 14 May 2017 (UTC)[reply]