User talk:Neveselbert/Archive 1

From Wikidata
Jump to navigation Jump to search


Logo of Wikidata

Welcome to Wikidata, Neve-selbert!

Wikidata is a free knowledge base that you can edit! It can be read and edited by humans and machines alike and you can go to any item page now and add to this ever-growing database!

Need some help getting started? Here are some pages you can familiarize yourself with:

  • Introduction – An introduction to the project.
  • Wikidata tours – Interactive tutorials to show you how Wikidata works.
  • Community portal – The portal for community members.
  • User options – including the 'Babel' extension, to set your language preferences.
  • Contents – The main help page for editing and using the site.
  • Project chat – Discussions about the project.
  • Tools – A collection of user-developed tools to allow for easier completion of some tasks.

Please remember to sign your messages on talk pages by typing four tildes (~~~~); this will automatically insert your username and the date.

If you have any questions, don't hesitate to ask on Project chat. If you want to try out editing, you can use the sandbox to try. Once again, welcome, and I hope you quickly feel comfortable here, and become an active editor for Wikidata.

Best regards!

Logo of Wikidata

Welcome to Wikidata, Neve-selbert!

Wikidata is a free knowledge base that you can edit! It can be read and edited by humans and machines alike and you can go to any item page now and add to this ever-growing database!

Need some help getting started? Here are some pages you can familiarize yourself with:

  • Introduction – An introduction to the project.
  • Wikidata tours – Interactive tutorials to show you how Wikidata works.
  • Community portal – The portal for community members.
  • User options – including the 'Babel' extension, to set your language preferences.
  • Contents – The main help page for editing and using the site.
  • Project chat – Discussions about the project.
  • Tools – A collection of user-developed tools to allow for easier completion of some tasks.

Please remember to sign your messages on talk pages by typing four tildes (~~~~); this will automatically insert your username and the date.

If you have any questions, please ask me on my talk page. If you want to try out editing, you can use the sandbox to try. Once again, welcome, and I hope you quickly feel comfortable here, and become an active editor for Wikidata.

Best regards!

--Alexmar983 (talk) 06:33, 4 October 2016 (UTC)[reply]

Thatcher TNA property issues[edit]

Hi - could you clarify what the error you're mentioning in this edit is? Now that you've flagged it I think a double ID may be causing problems in w:Template:UK National Archives ID but I want to confirm that's what you were seeing before I try and fix it :-). About seven thousand new TNA IDs were recently added, and I think this may be why the issue has suddenly appeared - until the other week we probably didn't have any items with multiple values at all...

If it is that template that's giving the error, then a quick patch might be to tweak it to use a known preferred value in the template, which will override the Wikidata call - I've done a test of this at w:Arthur Nicolson, 1st Baron Carnock, which also has two TNA IDs, and it seems to work. WD direct, has problems; specified ID, all okay. If you've no objections I'll go ahead and do this shortly and then reinstate the TNA ID on the item.

In the long run, the best solution is probably to tweak the template to select one value only if two exist, rather than trying to force WD to only retain a single value (which will be very difficult to maintain). w:Template:Authority control seems to do this - see eg w:Aeschylus where there are double VIAF and ISNI on Wikidata but only one is displayed on Wikipedia. I'm not sure what the underlying magic is there but I'll try and look into it.

Thanks, Andrew Gray (talk) 18:04, 8 November 2017 (UTC)[reply]

@Andrew Gray: Hi. The problem with your edit is that it caused an error message to appear, inserting a comma at the end of the hyperlink. Neve-selbert (talk) 10:59, 9 November 2017 (UTC)[reply]
Thanks - that seems to confirm what I suspected was going on. If Wikidata has multiple values, it'll return them as "AAAA, BBBB, CCCC", and of course this will break the URL. I've added a function to the template to detect a comma and dump any data after that, which means it will only ever return a single value with no comma. It's not the most elegant solution but it certainly seems to work! Andrew Gray (talk) 12:23, 9 November 2017 (UTC)[reply]