Template talk:Marriage

The redirect T:partner has been listed at redirects for discussion to determine whether its use and function meets the redirect guidelines. Readers of this page are welcome to comment on this redirect at Wikipedia:Redirects for discussion/Log/2025 January 3 § T:partner until a consensus is reached. Utopes (talk / cont) 20:14, 3 January 2025 (UTC)[reply]

The redirect T:Partner has been listed at redirects for discussion to determine whether its use and function meets the redirect guidelines. Readers of this page are welcome to comment on this redirect at Wikipedia:Redirects for discussion/Log/2025 January 3 § T:Partner until a consensus is reached. Utopes (talk / cont) 20:14, 3 January 2025 (UTC)[reply]

Separated, later divorced?

[edit]

Is there a good way to handle relationships like this -- where a marriage semi-formally separated, but was only legally dissolved much later?

Thinking here of Bernard Leach, who married Muriel Hoyle in 1909, separated from her in 1935 and begun a relationship with Laurie Cookes, but only formally divorced Hoyle in 1944 when he married Cookes.

If I can be bold enough to make a change: perhaps add parameters end1 and end2 (with "end1" as a synonym for "end", similar to how e.g. cite book tolerates "author-last" or "author-last1", "author-last2" etc), and "reason1", "reason2" under the same system? UndercoverClassicist T·C 15:26, 11 March 2025 (UTC)[reply]

Just go with {{marriage|Muriel Hoyle|1909|1944|end=div}}. That's more than enough information. The details of separation are not necessary if there was a divorce. ‑‑Neveselbert (talk · contribs · email) 18:40, 11 March 2025 (UTC)[reply]
In this case, I think it's useful (because he found time to fit in another relationship in the middle), but even then, I don't think we can say that it's never useful to differentiate between the de facto and de jure end of a marriage. UndercoverClassicist T·C 20:10, 11 March 2025 (UTC)[reply]
In which case, an explanatory footnote can be appended to the template, like so: {{marriage|Muriel Hoyle|1909|1944|end=div}}{{efn|Leach separated from Hoyle in 1935 and begun a relationship with Laurie Cookes, but only formally divorced Hoyle in 1944 when he married Cookes.}} ‑‑Neveselbert (talk · contribs · email) 22:14, 14 March 2025 (UTC)[reply]

Unexplained error template transclusion

[edit]

Why does THIS simple page version transclude {{error}} while the same page title without the diacritic does not? wbm1058 (talk) 15:07, 16 March 2025 (UTC)[reply]

Here's my guess: there is code in the template that runs #iferror and then looks at the Wikidata item for property P570, "date of death". The page with the accent mark has a connected Wikidata item, and date of death is listed as "unknown value", which appears to be some sort of placeholder. I wouldn't be surprised if that iferror test generated an error. The page without an accent does not have a Wikidata page associated with it, so there is no error when the test is run. I could be wrong, though; that's as far as I got. – Jonesey95 (talk) 17:03, 17 March 2025 (UTC)[reply]
The template documentation says "This template uses the Wikidata property "date of death" (P570) (see uses), where "see uses" does some sort of Wikidata data lookup. The documentation does not say how the date of death is used, nor does it say whose date of death is used (the article subject, or their spouse?), or why. I find this very annoying. – wbm1058 (talk) 22:27, 17 March 2025 (UTC)[reply]
Marriage template errors provides several explanations that may be helpful. ‑‑Neveselbert (talk · contribs · email) 21:16, 21 March 2025 (UTC)[reply]
The Iníon Dubh biography is transcluding an error. Iníon Dubh is not reporting any errors on that page, so is not helpful here. – wbm1058 (talk) 10:09, 26 March 2025 (UTC)[reply]
That appears to be because of Harv and Sfn no-target errors. ‑‑Neveselbert (talk · contribs · email) 23:34, 27 March 2025 (UTC)[reply]
There are over 3,500 articles in that category. That is a lower-priority error. If that were a top-priority error, we would see thousands of {{error}} transclusions. Currently there is only one {{error}}: Iníon Dubh. Normally, these generate big, bold, red messages but in this case that's not happening. As shown in my original post to this thread, I've isolated the problem to the page title. I'm considering moving the page to Inion Dubh, because apparently the diacritic is in error. – wbm1058 (talk) 11:28, 7 April 2025 (UTC)[reply]
My hypothesis is that even if you move the page, once the Wikidata page is linked to the new title, the error transclusion will reappear. Supporting my hypothesis: if you remove Template:Marriage from that page and then preview it, there is no error transclusion. The page is not in Category:Harv and Sfn no-target errors, so I don't know why that category would be relevant here. – Jonesey95 (talk) 17:20, 9 April 2025 (UTC)[reply]
I have edited the wikidata item to remove the error. The error is removed if you either remove the date of death parameter from wikidata or set it to no value. DrKay (talk) 17:47, 9 April 2025 (UTC)[reply]
Thank you. I don't know whether you removed or nulled the date of death of Sir Hugh O'Donnell or the date of death of Iníon Dubh. But thanks for confirming that Wikidata was the culprit, and making the {{error}} go away. – wbm1058 (talk) 03:12, 13 April 2025 (UTC)[reply]