Template talk:Infobox person/Wikidata

Latest comment: 2 days ago by Pigsonthewing in topic QID for drafts

Age calculation error

edit

A birth year of 1960 should not say "age 63" in October 2023. It should say "age 62–63", since the person's birthday might be in December. This template should use one of the age templates to display the age. See the documentation for {{infobox person}} for guidance about which template to use, depending on the data that is available. It appears that I noted this problem above in 2022 but that nobody has addressed it. – Jonesey95 (talk) 05:09, 28 October 2023 (UTC)Reply

I have commented out the "age XX" code until someone decides to fix it, since it can show an inaccurate age. – Jonesey95 (talk) 05:26, 28 October 2023 (UTC)Reply

Infobox person/Wikidata (usage)

edit

I've added {{Infobox person/Wikidata|fetchwikidata=ALL|noicon=on}} to a number of articles recently (mostly when no infobox is present), and have found that fairly often other folks come along and replace it with a "normal" or "standard" infobox (one example, coincidentally, can be found in the Mark Farrow article discussed in "Suppression error" above). I have no vested interest in this, however it seems like a robust feature that we would want to expand the use of and continue to improve. Is there any consensus on how and when these wikidata enabled infoboxes should/should not be used? Cheers, Cl3phact0 (talk) 11:55, 31 October 2023 (UTC)Reply

Judging by the discussion above (and elsewhere), it's obviously not robust. If the results are wrong, it's better to use the standard infobox. -- Michael Bednarek (talk) 12:34, 31 October 2023 (UTC)Reply
Fair enough. What would it take to make it more so? -- Cl3phact0 (talk) 13:25, 31 October 2023 (UTC)Reply
I think the way that you are doing it may be the best way: use this inadequate template as a weak but passable placeholder until someone can come along and replace it with a real infobox. – Jonesey95 (talk) 16:07, 31 October 2023 (UTC)Reply
Jonesey95, I find that if the wikidata side is in order, then it works very well here too. If one actually goes to wikidata and takes the time to fill in any egregious blanks (of course making certain they are properly referenced), better still. The upside of having this baseline information centralised in one place and useable across the board seems self-evident.
[NB: Bednarek, in retrospect, perhaps I should have said that it's potentially a very "robust" feature (and could do-away with a lot of repetitive, error-prone, and tedious busy-work), so let's continue to expand and improve it until it's as flawless as possible.]
One could even imagine a highly automated "Infobox Gadget" that taps wikidata, and with only a few clicks, generates a mostly complete infobox. Cheers, Cl3phact0 (talk) 17:01, 31 October 2023 (UTC)Reply
There should not even be any need for that: the information being on Wikidata should suffice. There is a lingering resistance and hostility towards Wikidata, observable on the Wikipedias in several languages, that I am simply at a loss to explain. Rama (talk) 10:33, 9 January 2024 (UTC)Reply
Currently there is an error at Vera Bulich ("aged Error: Need valid year, month, day") due to another stuffup with Wikidata. That's one reason for resistance. Johnuniq (talk) 01:01, 9 March 2024 (UTC)Reply
There are conflicting entries for both her birth and death dates. I've dialled it back to year of birth/year of death, however, if you have a good source for either or both, I'd be happy to clean-up the mess. Cheers, Cl3phact0 (talk) 09:57, 9 March 2024 (UTC)Reply

@Cl3phact0: "Error: Need valid year, month, day" for Died at Pietro Colonna Galatino. Please fix. Otherwise the wikidata infobox should be removed. Johnuniq (talk) 04:23, 18 April 2024 (UTC)Reply

Extended-confirmed-protected edit request on 24 August 2024

edit

CHANGE Gwyn Arch Born 4 May 1931 Southampton Died June 2021 (aged 89–90)

TO

Gwyn Arch Born 4 May 1931 Southampton Died 6 June 2021 (aged 90) Lush Alice (talk) 14:16, 24 August 2024 (UTC)Reply

  Not done: this is the talk page for discussing improvements to the template {{Infobox person/Wikidata}}. Please make your request at the talk page for the article concerned.. You probably need to change this on Gwyn Arch (Q107155662) instead, assuming you have a source. * Pppery * it has begun... 14:51, 24 August 2024 (UTC)Reply
I went ahead and filled-in a few details (both article and wikidata), so we can probably now say this has been   Done. Cheers, Cl3phact0 (talk) 16:44, 24 August 2024 (UTC)Reply

Appears to list the first two parents listed on Wikidata

edit
Jesus
Parent(s)

I tested this on Jesus, and the two parents listed were Saint Joseph and God the Father, but it should list Mary, Mother of Jesus too. I understand that in most cases, people have only two parents. That being said, Jesus is not the only case where paternity is disputed, and it would be unhelpful to only list the first two people listed on Wikidata as fathers and exclude the mother. Batrachoseps (talk) 20:11, 28 August 2024 (UTC)Reply

It should be clear from the documentation of this template that it, like many templates that pull information from Wikidata, is not suitable in all cases. The article for Jesus is one of those cases, where nuance is required in the infobox. – Jonesey95 (talk) 20:27, 28 August 2024 (UTC)Reply
Why not include all parents which are sourced on Wikidata? And yes I agree that it should not be used for Jesus, but this general feature should be changed. Batrachoseps (talk) 20:30, 28 August 2024 (UTC)Reply
The template will not generally limit display to two entries for parents. The reason it was doing so in the case of Jesus was because of the way the referencing was set up on Wikidata for the Mary claim. With this change, the template now displays all three claims. Nikkimaria (talk) 23:54, 28 August 2024 (UTC)Reply
Thank you, that helps. Batrachoseps (talk) 02:45, 29 August 2024 (UTC)Reply

QID for drafts

edit

It would be useful if this template, like {{Authority control}}, had a |qid= parameter, so it could be forced to fetch relevant data for articles still in Draft: status. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:45, 14 September 2024 (UTC)Reply

It's already there. That is how the examples on the documentation page work. Or maybe I misunderstand. – Jonesey95 (talk) 14:57, 14 September 2024 (UTC)Reply
So it is; thank you - it's just not mentioned in the documentation. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:07, 14 September 2024 (UTC)Reply
Go for it! The documentation is not protected. – Jonesey95 (talk) 15:29, 14 September 2024 (UTC)Reply
I added a tracking category: Category:Infobox person Wikidata using qid. It is possible that there may be a legitimate use for |qid= in article space, but most of the pages in the category are probably errors. – Jonesey95 (talk) 20:39, 14 September 2024 (UTC)Reply
The first three I checked were; is it worth adding some kind of error message, like we see in preview, for citation template errors? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 21:23, 14 September 2024 (UTC)Reply
Probably not. The first thing to do is to clear all of the erroneous cases, then document valid exceptions, then see how many new pages trickle in to the category. If we get only one new article per week or month, an error message is probably overkill. – Jonesey95 (talk) 02:14, 15 September 2024 (UTC)Reply
Far enough. I've asked for a bot to do the cleanup. Perhaps we should also add a tracking category to {{Authority control}}? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 10:20, 15 September 2024 (UTC)Reply